Просмотр исходного кода

delete my find file function in dired

pull/1/head
10sr 13 лет назад
Родитель
Сommit
a0599685a4
1 измененных файлов: 4 добавлений и 3 удалений
  1. +4
    -3
      emacs.el

+ 4
- 3
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 "<left>") 'my-dired-scroll-up)


Загрузка…
Отмена
Сохранить