diff lisp/info.el @ 548:0f4bdbb07414

[xemacs-hg @ 2001-05-20 21:36:06 by adrian] [PATCH] Properly make mouse-track-click-hook local in buff-menu.el and info.el <u7kzb3dsj.fsf@rapier.ecf.teradyne.com>
author adrian
date Sun, 20 May 2001 21:36:08 +0000
parents 7039e6323819
children a65ddffa00a5
line wrap: on
line diff
--- a/lisp/info.el	Sun May 20 06:00:18 2001 +0000
+++ b/lisp/info.el	Sun May 20 21:36:08 2001 +0000
@@ -3018,9 +3018,9 @@
   (make-local-variable 'Info-index-alternatives)
   (make-local-variable 'Info-history)
   ;; Faces are now defined by `defface'...
-  (make-local-variable 'mouse-track-click-hook)
-  (add-hook 'mouse-track-click-hook 'Info-maybe-follow-clicked-node)
-  (add-hook 'mouse-track-click-hook 'Info-mouse-track-double-click-hook)
+  (make-local-hook 'mouse-track-click-hook)
+  (add-hook 'mouse-track-click-hook 'Info-maybe-follow-clicked-node t t)
+  (add-hook 'mouse-track-click-hook 'Info-mouse-track-double-click-hook t t)
   ;; #### The console-on-window-system-p check is to allow this to
   ;; work on tty's.  The real problem here is that featurep really
   ;; needs to have some device/console domain knowledge added to it.