From: Robert Pluim Date: Mon, 24 Jun 2024 09:25:30 +0000 (+0200) Subject: Reset ls-lisp-use-string-collate when ls-lisp-emulation changes X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f34c45d647056ed2b51b44c7ab2ec4a514e747c5;p=emacs.git 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 (cherry picked from commit 0715abfa86acb1289074ac7647984941c71759ec) --- diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index ae4a43797f0..0459db85dbf 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -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)