From 5be35812acc0756f2f8e370e3aff2275fdf3a7ea Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 24 Sep 2022 14:07:55 +0200 Subject: [PATCH] image-dired: Prefer command remapping * lisp/image/image-dired.el (image-dired-thumbnail-mode-map): Prefer command remapping to binding keys directly. --- lisp/image/image-dired.el | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index f73b81c22de..dd434ce6ffb 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el @@ -843,20 +843,6 @@ You probably want to use this together with (defvar-keymap image-dired-thumbnail-mode-map :doc "Keymap for `image-dired-thumbnail-mode'." - "" #'image-dired-forward-image - "" #'image-dired-backward-image - "" #'image-dired-previous-line - "" #'image-dired-next-line - "C-f" #'image-dired-forward-image - "C-b" #'image-dired-backward-image - "C-p" #'image-dired-previous-line - "C-n" #'image-dired-next-line - - "<" #'image-dired-beginning-of-buffer - ">" #'image-dired-end-of-buffer - "M-<" #'image-dired-beginning-of-buffer - "M->" #'image-dired-end-of-buffer - "d" #'image-dired-flag-thumb-original-file "" #'image-dired-flag-thumb-original-file "m" #'image-dired-mark-thumb-original-file @@ -897,6 +883,12 @@ You probably want to use this together with "C-" #'ignore ; Don't open the buffer menu. "C-" #'image-dired-mouse-toggle-mark + " " #'image-dired-forward-image + " " #'image-dired-backward-image + " " #'image-dired-next-line + " " #'image-dired-previous-line + " " #'image-dired-beginning-of-buffer + " " #'image-dired-end-of-buffer " " #'image-dired-move-beginning-of-line " " #'image-dired-move-end-of-line) -- 2.39.2