From 24513b37865b7bc56effa32df5dd32f13759515e Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 18 Sep 2022 02:10:01 +0200 Subject: [PATCH] image-dired: Remove spurious message on C- * lisp/image/image-dired.el (image-dired-thumbnail-mode-map): Fix spurious message about C- being undefined. --- lisp/image/image-dired.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index 6b6399f7f4d..478de4e0ee4 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el @@ -882,12 +882,7 @@ You probably want to use this together with "" #'image-dired-mouse-select-thumbnail "" #'image-dired-mouse-select-thumbnail "" #'image-dired-mouse-select-thumbnail - ;; Seems I must first set C-down-mouse-1 to undefined, or else it - ;; will trigger the buffer menu. If I try to instead bind - ;; C-down-mouse-1 to `image-dired-mouse-toggle-mark', I get a message - ;; about C-mouse-1 not being defined afterwards. Annoying, but I - ;; probably do not completely understand mouse events. - "C-" #'undefined + "C-" #'ignore ; Don't open the buffer menu. "C-" #'image-dired-mouse-toggle-mark) (easy-menu-define image-dired-thumbnail-mode-menu image-dired-thumbnail-mode-map -- 2.39.2