changeset 71024:947a5b1dd3b6

* msb.el (mouse-select-buffer): Minor fix to make popup menu work with no X toolkit.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 28 May 2006 03:58:47 +0000
parents 613d5f4255bd
children 82d1f472baee
files lisp/ChangeLog lisp/msb.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat May 27 22:45:48 2006 +0000
+++ b/lisp/ChangeLog	Sun May 28 03:58:47 2006 +0000
@@ -1,3 +1,8 @@
+2006-05-27  Chong Yidong  <cyd@stupidchicken.com>
+
+	* msb.el (mouse-select-buffer): Minor fix to make popup menu work
+	with no X toolkit.
+
 2006-05-28  Nick Roberts  <nickrob@snap.net.nz>
 
 	* tumme.el (tumme-show-all-from-dir-max-files): Fix typo.
--- a/lisp/msb.el	Sat May 27 22:45:48 2006 +0000
+++ b/lisp/msb.el	Sun May 28 03:58:47 2006 +0000
@@ -1007,7 +1007,7 @@
       (mouse-select-buffer event))
      ((and (numberp (car choice))
 	   (null (cdr choice)))
-      (let ((msb--last-buffer-menu (nthcdr 3 (assq (car choice)
+      (let ((msb--last-buffer-menu (nthcdr 2 (assq (car choice)
 						   msb--last-buffer-menu))))
 	(mouse-select-buffer event)))
      ((while (numberp (car choice))