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:
Lars Ingebrigtsen 2019-05-17 05:18:12 +02:00
parent 92b1edb1f8
commit 54f5d678dc

View file

@ -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))