emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 54f5d67: Declare two w32 functions to avoid byte co


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 54f5d67: Declare two w32 functions to avoid byte compilation warnings
Date: Thu, 16 May 2019 23:18:22 -0400 (EDT)

branch: master
commit 54f5d678dccdf7b6a60579c6048e8cf87c81c4ae
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/w32-fns.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index 8762fe7..2b6464a 100644
--- a/lisp/w32-fns.el
+++ b/lisp/w32-fns.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]