diff lisp/buff-menu.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 56d2a7dcb919
children 943eaba38521
line wrap: on
line diff
--- a/lisp/buff-menu.el	Sun May 20 06:00:18 2001 +0000
+++ b/lisp/buff-menu.el	Sun May 20 21:36:08 2001 +0000
@@ -140,7 +140,8 @@
   (setq revert-buffer-function 'Buffer-menu-revert-function)
   (setq truncate-lines t)
   (setq buffer-read-only t)
-  (add-hook 'mouse-track-click-hook 'Buffer-menu-maybe-mouse-select) ; XEmacs
+  (make-local-hook 'mouse-track-click-hook) ; XEmacs
+  (add-hook 'mouse-track-click-hook 'Buffer-menu-maybe-mouse-select t t) ; XEmacs
   (run-hooks 'buffer-menu-mode-hook))
 
 (defun Buffer-menu-revert-function (ignore1 ignore2)