diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2020-11-08 18:07:46 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2020-11-08 18:07:46 +0000 |
| commit | 241022b046bcbc8673acf9efc8267a9bb147e139 (patch) | |
| tree | 7c36327cf01575685e669c1ffefc6def3863b4de /dotfiles-darwin/emacs | |
| parent | d6ad5668eebab8dd0a012115f324d7a36cf15cfa (diff) | |
darwin/emacs: Use executable-find to find gls
Diffstat (limited to 'dotfiles-darwin/emacs')
| -rw-r--r-- | dotfiles-darwin/emacs/init.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dotfiles-darwin/emacs/init.el b/dotfiles-darwin/emacs/init.el index a992874..fd37171 100644 --- a/dotfiles-darwin/emacs/init.el +++ b/dotfiles-darwin/emacs/init.el @@ -1,5 +1,4 @@ (setq mac-right-option-modifier 'none) -(let ((gnu-ls "/usr/local/bin/gls")) - (when (file-exists-p gnu-ls) - (setq insert-directory-program gnu-ls))) +(when (executable-find "gls") + (setq insert-directory-program "gls")) |
