From: Vinicius Jose Latorre Date: Sat, 17 May 2008 14:33:48 +0000 (+0000) Subject: menu-bar-select-buffer: Reinsert it as msb.el use it. X-Git-Tag: emacs-pretest-23.0.90~5470 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fb75de8f7fdb2b12a50661c78292bdc62160d137;p=emacs.git menu-bar-select-buffer: Reinsert it as msb.el use it. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c860f95ee77..d0925cb462a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2008-05-17 Vinicius Jose Latorre + + * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el use it. + 2008-05-17 Jim Meyering * ido.el (ido-save-history): Do not emit a trailing newline at the diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index d7d2fd41ca2..3ca642c8331 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -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)