emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1b251ed: * lisp/button.el (button-map): Bind [follow-link] to 'mo


From: Juri Linkov
Subject: master 1b251ed: * lisp/button.el (button-map): Bind [follow-link] to 'mouse-face' (bug#49626)
Date: Tue, 20 Jul 2021 15:53:26 -0400 (EDT)

branch: master
commit 1b251ed4e8550c889d17fe7d88f58aa2fbc95fe0
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/button.el (button-map): Bind [follow-link] to 'mouse-face' 
(bug#49626)
---
 lisp/button.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/button.el b/lisp/button.el
index 69d7054..74dfb5d 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!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]