changeset 95059:4ce13b37e978

menu-bar-select-buffer: Reinsert it as msb.el use it.
author Vinicius Jose Latorre <viniciusjl@ig.com.br>
date Sat, 17 May 2008 14:33:48 +0000
parents 9cc2c84570ae
children e1e4085b4297
files lisp/ChangeLog lisp/menu-bar.el
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat May 17 06:24:48 2008 +0000
+++ b/lisp/ChangeLog	Sat May 17 14:33:48 2008 +0000
@@ -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
--- a/lisp/menu-bar.el	Sat May 17 06:24:48 2008 +0000
+++ b/lisp/menu-bar.el	Sat May 17 14:33:48 2008 +0000
@@ -1624,6 +1624,10 @@
 
 (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)