Reset ls-lisp-use-string-collate when ls-lisp-emulation changes

* lisp/ls-lisp.el (ls-lisp-set-options): Add ls-lisp-use-string-collate
to the list of custom options that are reset when ls-lisp-emulation
changes.

https://lists.gnu.org/archive/html/help-gnu-emacs/2024-06/msg00135.html
This commit is contained in:
Robert Pluim 2024-06-24 11:25:30 +02:00
parent 4fcc38966b
commit 0715abfa86

View file

@ -70,7 +70,10 @@
(defun ls-lisp-set-options ()
"Reset the ls-lisp options that depend on `ls-lisp-emulation'."
(mapc 'custom-reevaluate-setting
'(ls-lisp-ignore-case ls-lisp-dirs-first ls-lisp-verbosity)))
'(ls-lisp-ignore-case
ls-lisp-dirs-first
ls-lisp-verbosity
ls-lisp-use-string-collate)))
(defcustom ls-lisp-emulation
(cond ;; ((eq system-type 'windows-nt) 'MS-Windows)