aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2021-07-20 22:53:06 +0300
committerJuri Linkov2021-07-20 22:53:06 +0300
commit1b251ed4e8550c889d17fe7d88f58aa2fbc95fe0 (patch)
tree50777e3f101ff33db44386229c9910af690c4f85
parentf9d74408148e50eb287d6bf784cddbdc239d9669 (diff)
downloademacs-1b251ed4e8550c889d17fe7d88f58aa2fbc95fe0.tar.gz
emacs-1b251ed4e8550c889d17fe7d88f58aa2fbc95fe0.zip
* lisp/button.el (button-map): Bind [follow-link] to 'mouse-face' (bug#49626)
-rw-r--r--lisp/button.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/button.el b/lisp/button.el
index 69d70540c06..74dfb5d5419 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -61,6 +61,7 @@
61 ;; might get converted to ^M when building loaddefs.el 61 ;; might get converted to ^M when building loaddefs.el
62 (define-key map [(control ?m)] 'push-button) 62 (define-key map [(control ?m)] 'push-button)
63 (define-key map [mouse-2] 'push-button) 63 (define-key map [mouse-2] 'push-button)
64 (define-key map [follow-link] 'mouse-face)
64 ;; FIXME: You'd think that for keymaps coming from text-properties on the 65 ;; FIXME: You'd think that for keymaps coming from text-properties on the
65 ;; mode-line or header-line, the `mode-line' or `header-line' prefix 66 ;; mode-line or header-line, the `mode-line' or `header-line' prefix
66 ;; shouldn't be necessary! 67 ;; shouldn't be necessary!