all repos — archive/dotfiles @ 08aea4ba64f3a076b51c9da88be619aa96fa90a4

Superseded by nixfiles

Emacs: Only use GNU ls on OSX when found
Alan Pearce ap@studio-40.com
Sat, 31 May 2014 17:44:45 +0100
commit

08aea4ba64f3a076b51c9da88be619aa96fa90a4

parent

486fd3e770609985b16503b531b6ab10cfa1ff40

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -219,7 +219,7 @@ (setq dired-dwim-target t                   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)))