]> git.eshelyaron.com Git - emacs.git/commitdiff
* msb.el (mouse-select-buffer): Minor fix to make popup menu work
authorChong Yidong <cyd@stupidchicken.com>
Sun, 28 May 2006 03:58:47 +0000 (03:58 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 28 May 2006 03:58:47 +0000 (03:58 +0000)
with no X toolkit.

lisp/ChangeLog
lisp/msb.el

index a26ff639b93185dd40bb5497499226901d4163ad..8e2edd4f83fbf93d41ce083eddea793c9f6b5690 100644 (file)
@@ -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.
index 61ddce5dae01c902e20c2c070690d9ebfead2cfd..d5f324869716bf72946bd8dd676d49cfcf3828de 100644 (file)
@@ -1007,7 +1007,7 @@ variable `msb-menu-cond'."
       (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))