From 754a1cb21cdc2150d0bef4b88ec247af9be5e04f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 2 Jun 2014 09:56:22 +0100 Subject: Emacs: Make GNU ls detection path-specific --- tag-emacs/emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-emacs/emacs.d/init.el') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 7c25e79e..635733fd 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -224,7 +224,7 @@ 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 -- cgit 1.4.1