]> git.eshelyaron.com Git - emacs.git/commitdiff
Reset ls-lisp-use-string-collate when ls-lisp-emulation changes
authorRobert Pluim <rpluim@gmail.com>
Mon, 24 Jun 2024 09:25:30 +0000 (11:25 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 26 Jun 2024 13:31:08 +0000 (15:31 +0200)
* 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)

lisp/ls-lisp.el

index ae4a43797f00daa5f0a1f51d75ef35c23b7c0a0f..0459db85dbfcd99893f45b689920bb9ce03294fc 100644 (file)
 (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)