summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-06-02 09:56:22 +0100
committerAlan Pearce2014-06-02 09:56:22 +0100
commit754a1cb21cdc2150d0bef4b88ec247af9be5e04f (patch)
treebaa763d01697075355baabf511de2f7fbd5df311 /tag-emacs
parent2ab61a13e5a9eb78756d330b99ec4e8fa9c764b6 (diff)
downloadnixfiles-754a1cb21cdc2150d0bef4b88ec247af9be5e04f.tar.lz
nixfiles-754a1cb21cdc2150d0bef4b88ec247af9be5e04f.tar.zst
nixfiles-754a1cb21cdc2150d0bef4b88ec247af9be5e04f.zip
Emacs: Make GNU ls detection path-specific
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 7c25e79e..635733fd 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -224,7 +224,7 @@
                   dired-recursive-deletes 'top
                   dired-bind-jump nil)
             (when (and (eq system-type 'darwin) (executable-find "gls"))
-              (setq insert-directory-program "/usr/local/bin/gls"))
+              (setq insert-directory-program (executable-find "gls")))
             (put 'dired-find-alternate-file 'disabled nil)))
 
 (req-package dired-x