changeset 44907:5e84d4496348

(menu-bar-update-buffers): Add menu items Next Buffer and Previous Buffer.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Apr 2002 23:17:10 +0000
parents fe8ce22fc4a1
children f56cd90c9533
files lisp/menu-bar.el
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Sat Apr 27 23:16:18 2002 +0000
+++ b/lisp/menu-bar.el	Sat Apr 27 23:17:10 2002 +0000
@@ -1403,6 +1403,16 @@
 	 (unless menu-bar-buffers-menu-command-entries
 	   (setq menu-bar-buffers-menu-command-entries
 		 (list '(command-separator "--")
+		       (list 'next-buffer
+			     'menu-item
+			     "Next Buffer"
+			     'next-buffer
+			     :help "Switch to the \"next\" buffer in a cyclic order")
+		       (list 'prev-buffer
+			     'menu-item
+			     "Previous Buffer"
+			     'prev-buffer
+			     :help "Switch to the \"previous\" buffer in a cyclic order")
 		       (list 'select-named-buffer
 			     'menu-item
 			     "Select Named Buffer..."