aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Bockgård2009-09-27 13:08:27 +0000
committerJohan Bockgård2009-09-27 13:08:27 +0000
commit081bd373bab88e4c8686ac88dbc12acf0a6e828b (patch)
tree6e13369d2088cb536f5763ca0de3dcd2fb5abea9
parent58a5068ad1ef6a1ba81479bbf2b909373cefed91 (diff)
downloademacs-081bd373bab88e4c8686ac88dbc12acf0a6e828b.tar.gz
emacs-081bd373bab88e4c8686ac88dbc12acf0a6e828b.zip
(erc-button-keymap): Bind `follow-link'.
-rw-r--r--lisp/erc/ChangeLog4
-rw-r--r--lisp/erc/erc-button.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index c2e83911e0c..73b14f6f912 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,7 @@
12009-09-27 Johan Bockgård <bojohan@gnu.org>
2
3 * erc-button.el (erc-button-keymap): Bind `follow-link'.
4
12009-09-26 Johan Bockgård <bojohan@gnu.org> 52009-09-26 Johan Bockgård <bojohan@gnu.org>
2 6
3 * erc-button.el (erc-button-add-button): Only call 7 * erc-button.el (erc-button-add-button): Only call
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el
index 8eee1ce278f..a862e02f43b 100644
--- a/lisp/erc/erc-button.el
+++ b/lisp/erc/erc-button.el
@@ -216,6 +216,7 @@ PAR is a number of a regexp grouping whose text will be passed to
216 (define-key map (kbd "<mouse-2>") 'erc-button-click-button)) 216 (define-key map (kbd "<mouse-2>") 'erc-button-click-button))
217 (define-key map (kbd "TAB") 'erc-button-next) 217 (define-key map (kbd "TAB") 'erc-button-next)
218 (define-key map (kbd "<backtab>") 'erc-button-previous) 218 (define-key map (kbd "<backtab>") 'erc-button-previous)
219 (define-key map [follow-link] 'mouse-face)
219 (set-keymap-parent map erc-mode-map) 220 (set-keymap-parent map erc-mode-map)
220 map) 221 map)
221 "Local keymap for ERC buttons.") 222 "Local keymap for ERC buttons.")