summaryrefslogtreecommitdiff
path: root/lisp/button.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2021-07-20 22:53:06 +0300
committerJuri Linkov <juri@linkov.net>2021-07-20 22:53:06 +0300
commit1b251ed4e8550c889d17fe7d88f58aa2fbc95fe0 (patch)
tree50777e3f101ff33db44386229c9910af690c4f85 /lisp/button.el
parentf9d74408148e50eb287d6bf784cddbdc239d9669 (diff)
downloademacs-1b251ed4e8550c889d17fe7d88f58aa2fbc95fe0.tar.gz
* lisp/button.el (button-map): Bind [follow-link] to 'mouse-face' (bug#49626)
Diffstat (limited to 'lisp/button.el')
-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 @@
;; 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!