Variable `insert-directy-program' is now an option

This commit is contained in:
Gerard Vermeulen 2023-09-26 15:07:24 +02:00
parent 2286d0a65e
commit 6a5a4762cf

View File

@ -245,8 +245,6 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
inhibit-startup-screen t inhibit-startup-screen t
initial-buffer-choice t initial-buffer-choice t
initial-scratch-message "" initial-scratch-message ""
insert-directory-program (or (executable-find "gls")
(executable-find "ls"))
isearch-lazy-count t isearch-lazy-count t
kill-ring-max 300 kill-ring-max 300
lazy-count-prefix-format nil lazy-count-prefix-format nil
@ -851,11 +849,6 @@ extension.
dired-recursive-copies 'always dired-recursive-copies 'always
dired-recursive-deletes 'always)) dired-recursive-deletes 'always))
(with-eval-after-load 'files
;; Ensure the use of `GNU-ls' from `coreutils' on darwin.
(setopt insert-directory-program (or (executable-find "gls")
(executable-find "ls"))))
(with-eval-after-load 'wdired (with-eval-after-load 'wdired
(setopt wdired-allow-to-change-permissions t)) (setopt wdired-allow-to-change-permissions t))
#+end_src #+end_src