From a0599685a475aae4296410e2ed01bbb850606ff4 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 28 Jan 2012 01:12:53 +0900 Subject: [PATCH] delete my find file function in dired --- emacs.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/emacs.el b/emacs.el index d284671..98c5247 100644 --- a/emacs.el +++ b/emacs.el @@ -1393,9 +1393,10 @@ otherwise, use `pack-default-extension' for pack." (define-key dired-mode-map "a" 'my-dired-display-all-mode) (define-key dired-mode-map "h" 'my-dired-display-all-mode) (define-key dired-mode-map "/" 'dired-isearch-filenames) - (substitute-key-definition 'dired-advertised-find-file 'my-dired-find-file dired-mode-map) - (substitute-key-definition 'dired-up-directory 'my-dired-up-directory dired-mode-map) - (define-key dired-mode-map (kbd "DEL") 'my-dired-up-directory) + ;; (substitute-key-definition 'dired-advertised-find-file 'my-dired-find-file dired-mode-map) + ;; (substitute-key-definition 'dired-up-directory 'my-dired-up-directory dired-mode-map) + ;; (define-key dired-mode-map (kbd "DEL") 'my-dired-up-directory) + (define-key dired-mode-map (kbd "DEL") 'dired-up-directory) (substitute-key-definition 'dired-next-line 'my-dired-next-line dired-mode-map) (substitute-key-definition 'dired-previous-line 'my-dired-previous-line dired-mode-map) (define-key dired-mode-map (kbd "") 'my-dired-scroll-up)