]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/button.el (button-map): Bind [follow-link] to 'mouse-face' (bug#49626)
authorJuri Linkov <juri@linkov.net>
Tue, 20 Jul 2021 19:53:06 +0000 (22:53 +0300)
committerJuri Linkov <juri@linkov.net>
Tue, 20 Jul 2021 19:53:06 +0000 (22:53 +0300)
lisp/button.el

index 69d70540c06097f15d24a6204d6cd93ef4d9f02a..74dfb5d5419ae9c9ed73c97408189b8a5c11f0b4 100644 (file)
@@ -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!