changeset 538:56d2a7dcb919

[xemacs-hg @ 2001-05-14 09:51:46 by adrian] [PATCH] Possible fix for mouse-track-insert in 21.[1245], Please Test! <sniaxhsv.fsf@rapier.ecf.teradyne.com>
author adrian
date Mon, 14 May 2001 09:51:47 +0000
parents 836d476763d0
children eec22eb29327
files lisp/ChangeLog lisp/buff-menu.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon May 14 06:27:10 2001 +0000
+++ b/lisp/ChangeLog	Mon May 14 09:51:47 2001 +0000
@@ -1,3 +1,10 @@
+2001-05-13  Adrian Aichner  <adrian@xemacs.org>
+
+	* buff-menu.el (Buffer-menu-mode): `mouse-track-click-hook' was
+	made buffer-local incorrectly (make-local-variable instead of
+	make-local-hook).  Furthermore this hook must not be local so that
+	it can keep track of buffers and windows.
+
 2001-05-13  Mike Alexander  <mta@arbortext.com>
 
 	* dragdrop.el (experimental-dragdrop-drop-url-default): If event
--- a/lisp/buff-menu.el	Mon May 14 06:27:10 2001 +0000
+++ b/lisp/buff-menu.el	Mon May 14 09:51:47 2001 +0000
@@ -140,7 +140,6 @@
   (setq revert-buffer-function 'Buffer-menu-revert-function)
   (setq truncate-lines t)
   (setq buffer-read-only t)
-  (make-local-variable 'mouse-track-click-hook) ; XEmacs
   (add-hook 'mouse-track-click-hook 'Buffer-menu-maybe-mouse-select) ; XEmacs
   (run-hooks 'buffer-menu-mode-hook))