all repos — nixfiles @ 754a1cb21cdc2150d0bef4b88ec247af9be5e04f

System and user configuration, managed by nix and home-manager

Emacs: Make GNU ls detection path-specific
Alan Pearce ap@studio-40.com
Mon, 02 Jun 2014 09:56:22 +0100
commit

754a1cb21cdc2150d0bef4b88ec247af9be5e04f

parent

2ab61a13e5a9eb78756d330b99ec4e8fa9c764b6

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

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -224,7 +224,7 @@ dired-recursive-copies 'top                   dired-recursive-deletes 'top
                   dired-bind-jump nil)
             (when (and (eq system-type 'darwin) (executable-find "gls"))
-              (setq insert-directory-program "/usr/local/bin/gls"))
+              (setq insert-directory-program (executable-find "gls")))
             (put 'dired-find-alternate-file 'disabled nil)))
 
 (req-package dired-x