summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-12-11 17:02:03 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-12-11 17:02:03 +0000
commit315eb96d019f45edc8e37a3010dc61877c7a0f1e (patch)
tree6730f5527bb9874ee0f80bdacd50acdcaf2123a1
parent82d3343cd8c897ded4863828bf9600940ebf07a8 (diff)
downloademacs-315eb96d019f45edc8e37a3010dc61877c7a0f1e.tar.gz
* progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
rather than down-mouse-1, based on follow-link conventions.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/progmodes/bug-reference.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3ac96d3f010..0afa5ecf453 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2009-12-11 Chong Yidong <cyd@stupidchicken.com>
+ * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
+ rather than down-mouse-1, based on follow-link conventions.
+
* makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
are compiled.
diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el
index 98e0dddb50a..95cb7aed26e 100644
--- a/lisp/progmodes/bug-reference.el
+++ b/lisp/progmodes/bug-reference.el
@@ -32,7 +32,7 @@
(defvar bug-reference-map
(let ((map (make-sparse-keymap)))
- (define-key map [down-mouse-1] 'bug-reference-push-button)
+ (define-key map [mouse-2] 'bug-reference-push-button)
(define-key map (kbd "C-c RET") 'bug-reference-push-button)
map)
"Keymap used by bug reference buttons.")