summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
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 a0efc91..cfa417e 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)))