changeset 106536:8cc9318e5841

* progmodes/bug-reference.el (bug-reference-map): Bind mouse-2 rather than down-mouse-1, based on follow-link conventions.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 11 Dec 2009 17:02:03 +0000
parents f21f0f004de3
children 9a13ceca63a8
files lisp/ChangeLog lisp/progmodes/bug-reference.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Dec 11 16:48:02 2009 +0000
+++ b/lisp/ChangeLog	Fri Dec 11 17:02:03 2009 +0000
@@ -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.
 
--- a/lisp/progmodes/bug-reference.el	Fri Dec 11 16:48:02 2009 +0000
+++ b/lisp/progmodes/bug-reference.el	Fri Dec 11 17:02:03 2009 +0000
@@ -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.")