summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-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)))