summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-05-31 17:44:45 +0100
committerAlan Pearce2014-05-31 17:44:45 +0100
commit08aea4ba64f3a076b51c9da88be619aa96fa90a4 (patch)
treef8ae6f8ed4d02b3bbd4b8943da4a61958b7f3087
parent486fd3e770609985b16503b531b6ab10cfa1ff40 (diff)
downloadnixfiles-08aea4ba64f3a076b51c9da88be619aa96fa90a4.tar.lz
nixfiles-08aea4ba64f3a076b51c9da88be619aa96fa90a4.tar.zst
nixfiles-08aea4ba64f3a076b51c9da88be619aa96fa90a4.zip
Emacs: Only use GNU ls on OSX when found
-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 a0efc916..cfa417e8 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -219,7 +219,7 @@
                   dired-recursive-copies 'top
                   dired-recursive-deletes 'top
                   dired-bind-jump nil)
-            (when (eq system-type 'darwin)
+            (when (and (eq system-type 'darwin) (executable-find "gls"))
               (setq insert-directory-program "/usr/local/bin/gls"))
             (put 'dired-find-alternate-file 'disabled nil)))