diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-10-24 19:19:37 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-10-24 19:22:03 -0400 |
commit | e8a06a5f9a98094d340dda1c9c8b195f3e66e2c8 (patch) | |
tree | 188e0fdb6579f1dc75c86b2f2eb6ec566408e080 /lisp/ls-lisp.el | |
parent | 0c536a20fb4833bafea1c2a14b9ff2bac2a3ebd8 (diff) | |
download | emacs-e8a06a5f9a98094d340dda1c9c8b195f3e66e2c8.tar.gz |
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.
Diffstat (limited to 'lisp/ls-lisp.el')
-rw-r--r-- | lisp/ls-lisp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index 66dddbbc17b..caddc7f760b 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. |