From 89365d748f15f2fd789c3818480a16849ac05a94 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 24 Oct 2021 21:21:25 +0200 Subject: [PATCH] Fix mouse buttons in dired--make-directory-clickable * lisp/dired.el (dired--make-directory-clickable): Adjust mouse clicks to conform to our standards. --- lisp/dired.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/dired.el b/lisp/dired.el index ced18114c46..40dfc39b9ad 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1672,7 +1672,8 @@ see `dired-use-ls-dired' for more details.") (dired-goto-subdir current-dir) (dired current-dir))))) (define-keymap - [down-mouse-1] click + [mouse-2] click + [follow-link] 'mouse-face ["RET"] click)))) (setq segment-start (point))))))) -- 2.39.2