From: Stefan Kangas Date: Mon, 6 Dec 2021 01:48:55 +0000 (+0100) Subject: image-dired: Don't disable mouse dragging X-Git-Tag: emacs-29.0.90~3612^2^2~20 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fba7c8759520f9444923addee44de10657fa3ba7;p=emacs.git image-dired: Don't disable mouse dragging * lisp/image-dired.el (image-dired-thumbnail-mode-map): Don't disable mouse dragging. (Bug#52201) --- diff --git a/lisp/image-dired.el b/lisp/image-dired.el index 47a44a4a60e..0e597a515e7 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el @@ -1593,11 +1593,6 @@ You probably want to use this together with (define-key map [down-mouse-1] #'image-dired-mouse-select-thumbnail) (define-key map [down-mouse-2] #'image-dired-mouse-select-thumbnail) (define-key map [down-mouse-3] #'image-dired-mouse-select-thumbnail) - ;; Let's disable mouse dragging, as it currently doesn't do - ;; anything useful. - (define-key map [drag-mouse-1] #'ignore) - (define-key map [drag-mouse-2] #'ignore) - (define-key map [drag-mouse-3] #'ignore) ;; 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