summaryrefslogtreecommitdiff
path: root/lisp/menu-bar.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-04-27 23:18:21 +0000
committerRichard M. Stallman <rms@gnu.org>2002-04-27 23:18:21 +0000
commit332b907c86bd6f335c3d3681ae09bb5539d05d1a (patch)
treea1bbdcaa71348394d1ced470bfb29ea33869708c /lisp/menu-bar.el
parentf54b0d85a84e185abefb4109266de21b4f050517 (diff)
downloademacs-332b907c86bd6f335c3d3681ae09bb5539d05d1a.tar.gz
(menu-bar-update-buffers): Add menu items Next Buffer and Previous Buffer.
Diffstat (limited to 'lisp/menu-bar.el')
-rw-r--r--lisp/menu-bar.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 7316c60a90c..48987e54b1f 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1403,6 +1403,16 @@ Buffers menu is regenerated."
(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..."