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.
This commit is contained in:
parent
0c536a20fb
commit
e8a06a5f9a
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue