]> git.eshelyaron.com Git - emacs.git/commitdiff
menu-bar-select-buffer: Reinsert it as msb.el use it.
authorVinicius Jose Latorre <viniciusjl@ig.com.br>
Sat, 17 May 2008 14:33:48 +0000 (14:33 +0000)
committerVinicius Jose Latorre <viniciusjl@ig.com.br>
Sat, 17 May 2008 14:33:48 +0000 (14:33 +0000)
lisp/ChangeLog
lisp/menu-bar.el

index c860f95ee773c977806d54f3ea8c5e612a8dd444..d0925cb462a7b1eb2fbf77de0a210d58141561a4 100644 (file)
@@ -1,3 +1,7 @@
+2008-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
+
+       * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el use it.
+
 2008-05-17  Jim Meyering  <meyering@redhat.com>
 
        * ido.el (ido-save-history): Do not emit a trailing newline at the
index d7d2fd41ca2650011cdab692197ac881bd7bff21..3ca642c8331c37acfacdf143d7fef000d09b64eb 100644 (file)
@@ -1624,6 +1624,10 @@ Buffers menu is regenerated."
 
 (defvar list-buffers-directory nil)
 
+(defun menu-bar-select-buffer ()
+  (interactive)
+  (switch-to-buffer last-command-event))
+
 (defun menu-bar-select-frame (frame)
   (make-frame-visible frame)
   (raise-frame frame)