From b76cb5488b2fc0a0dea6b7f3a94e4f2ae6b42642 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 1 Jan 2016 23:49:24 +0900 Subject: [PATCH] Fix bug of dired-list-all-mode key definition --- emacs.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 4401280..983b6a6 100644 --- a/emacs.el +++ b/emacs.el @@ -1580,7 +1580,7 @@ the list." (when (autoload-eval-lazily 'dired-list-all-mode) (setq dired-listing-switches "-lhF") (with-eval-after-load 'dired - (local-set-key "a" 'dired-list-all-mode)))) + (define-key dired-mode-map "a" 'dired-list-all-mode)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; eshell @@ -2072,4 +2072,6 @@ Commands are searched from ALIST." read-string completing-read) +() + ;;; emacs.el ends here