mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Declare two w32 functions to avoid byte compilation warnings
* lisp/w32-fns.el (w32-version, w32-read-registry): Declare these functions to avoid byte compilation warnings. The functions should be loaded when `w32--os-description' is called, as far as I can tell.
This commit is contained in:
parent
92b1edb1f8
commit
54f5d678dc
1 changed files with 4 additions and 1 deletions
|
|
@ -305,7 +305,10 @@ names."
|
|||
|
||||
;;;; System name and version for emacsbug.el
|
||||
|
||||
(defun w32--os-description ()
|
||||
(declare-function w32-version "w32-win" ())
|
||||
(declare-function w32-read-registry "w32fns" (root key name))
|
||||
|
||||
(defun w32--os-descriptiono ()
|
||||
"Return a string describing the underlying OS and its version."
|
||||
(let* ((w32ver (car (w32-version)))
|
||||
(w9x-p (< w32ver 5))
|
||||
|
|
|
|||
Loading…
Reference in a new issue