[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49626: Why mouse-1 is not allowed on button links?
From: |
Juri Linkov |
Subject: |
bug#49626: Why mouse-1 is not allowed on button links? |
Date: |
Mon, 19 Jul 2021 01:38:13 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
Tried to click mouse-1 on the button links in the 'dictionary' buffers
(from the built-in package lisp/net/dictionary.el),
but it does nothing, unlike mouse-2. Should this patch be applied?
I'm asking because I'm not sure about its side effects to other packages.
diff --git a/lisp/button.el b/lisp/button.el
index 69d70540c0..74dfb5d541 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -61,6 +61,7 @@ button-map
;; might get converted to ^M when building loaddefs.el
(define-key map [(control ?m)] 'push-button)
(define-key map [mouse-2] 'push-button)
+ (define-key map [follow-link] 'mouse-face)
;; FIXME: You'd think that for keymaps coming from text-properties on the
;; mode-line or header-line, the `mode-line' or `header-line' prefix
;; shouldn't be necessary!
- bug#49626: Why mouse-1 is not allowed on button links?,
Juri Linkov <=