diff options
author | Alan Pearce | 2014-05-31 17:44:45 +0100 |
---|---|---|
committer | Alan Pearce | 2014-05-31 17:44:45 +0100 |
commit | 08aea4ba64f3a076b51c9da88be619aa96fa90a4 (patch) | |
tree | f8ae6f8ed4d02b3bbd4b8943da4a61958b7f3087 /tag-emacs | |
parent | 486fd3e770609985b16503b531b6ab10cfa1ff40 (diff) | |
download | dotfiles-08aea4ba64f3a076b51c9da88be619aa96fa90a4.tar.lz dotfiles-08aea4ba64f3a076b51c9da88be619aa96fa90a4.tar.zst dotfiles-08aea4ba64f3a076b51c9da88be619aa96fa90a4.zip |
Emacs: Only use GNU ls on OSX when found
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 2 |
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))) |