changeset 105222:f4bcd333d869

(erc-button-keymap): Bind `follow-link'.
author Johan Bockgård <bojohan@gnu.org>
date Sun, 27 Sep 2009 13:08:27 +0000
parents 876f51a736be
children 95bdce3df18d
files lisp/erc/ChangeLog lisp/erc/erc-button.el
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/erc/ChangeLog	Sun Sep 27 11:49:20 2009 +0000
+++ b/lisp/erc/ChangeLog	Sun Sep 27 13:08:27 2009 +0000
@@ -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
--- a/lisp/erc/erc-button.el	Sun Sep 27 11:49:20 2009 +0000
+++ b/lisp/erc/erc-button.el	Sun Sep 27 13:08:27 2009 +0000
@@ -216,6 +216,7 @@
       (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.")