(erc-button-keymap): Bind `follow-link'.
authorJohan Bockgård <bojohan@gnu.org>
Sun, 27 Sep 2009 13:08:27 +0000 (13:08 +0000)
committerJohan Bockgård <bojohan@gnu.org>
Sun, 27 Sep 2009 13:08:27 +0000 (13:08 +0000)
lisp/erc/ChangeLog
lisp/erc/erc-button.el

index c2e8391..73b14f6 100644 (file)
@@ -1,3 +1,7 @@
+2009-09-27  Johan Bockgård  <bojohan@gnu.org>
+
+       * erc-button.el (erc-button-keymap): Bind `follow-link'.
+
 2009-09-26  Johan Bockgård  <bojohan@gnu.org>
 
        * erc-button.el (erc-button-add-button): Only call
index 8eee1ce..a862e02 100644 (file)
@@ -216,6 +216,7 @@ PAR is a number of a regexp grouping whose text will be passed to
       (define-key map (kbd "<mouse-2>") 'erc-button-click-button))
     (define-key map (kbd "TAB") 'erc-button-next)
     (define-key map (kbd "<backtab>") 'erc-button-previous)
+    (define-key map [follow-link] 'mouse-face)
     (set-keymap-parent map erc-mode-map)
     map)
   "Local keymap for ERC buttons.")