emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 e8a06a5 2/2: Fix compile warning for non-w32 buil


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-26 e8a06a5 2/2: Fix compile warning for non-w32 builds
Date: Tue, 24 Oct 2017 19:25:13 -0400 (EDT)

branch: emacs-26
commit e8a06a5f9a98094d340dda1c9c8b195f3e66e2c8
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Fix compile warning for non-w32 builds
    
    Since 2017-07-25 "ls-lisp: Add an unload function and enable lexical
    binding", the non-w32 builds would treat the undeclared
    w32-collate-ignore-punctuation variable as lexical.
    * lisp/ls-lisp.el (top-level): Declare it as a dynamic variable.
---
 lisp/ls-lisp.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el
index 66dddbb..caddc7f 100644
--- a/lisp/ls-lisp.el
+++ b/lisp/ls-lisp.el
@@ -567,6 +567,8 @@ Responds to the window width as ls should but may not!"
       (setq list (cdr list)))
     result))
 
+(defvar w32-collate-ignore-punctuation) ; Declare for non-w32 builds.
+
 (defsubst ls-lisp-string-lessp (s1 s2)
   "Return t if string S1 should sort before string S2.
 Case is significant if `ls-lisp-ignore-case' is nil.



reply via email to

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