From 08aea4ba64f3a076b51c9da88be619aa96fa90a4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 31 May 2014 17:44:45 +0100 Subject: Emacs: Only use GNU ls on OSX when found --- tag-emacs/emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- cgit 1.4.1