From fb75de8f7fdb2b12a50661c78292bdc62160d137 Mon Sep 17 00:00:00 2001 From: Vinicius Jose Latorre Date: Sat, 17 May 2008 14:33:48 +0000 Subject: [PATCH] menu-bar-select-buffer: Reinsert it as msb.el use it. --- lisp/ChangeLog | 4 ++++ lisp/menu-bar.el | 4 ++++ 2 files changed, 8 insertions(+) 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) -- 2.39.2