diff options
| author | Richard M. Stallman | 2002-04-27 23:18:21 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-04-27 23:18:21 +0000 |
| commit | 332b907c86bd6f335c3d3681ae09bb5539d05d1a (patch) | |
| tree | a1bbdcaa71348394d1ced470bfb29ea33869708c | |
| parent | f54b0d85a84e185abefb4109266de21b4f050517 (diff) | |
| download | emacs-332b907c86bd6f335c3d3681ae09bb5539d05d1a.tar.gz emacs-332b907c86bd6f335c3d3681ae09bb5539d05d1a.zip | |
(menu-bar-update-buffers): Add menu items Next Buffer and Previous Buffer.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e8428db7086..0c20df2ac02 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -5,6 +5,12 @@ | |||
| 5 | 5 | ||
| 6 | 2002-04-27 Richard M. Stallman <rms@gnu.org> | 6 | 2002-04-27 Richard M. Stallman <rms@gnu.org> |
| 7 | 7 | ||
| 8 | * menu-bar.el (menu-bar-update-buffers): Add menu items | ||
| 9 | Next Buffer and Previous Buffer. | ||
| 10 | |||
| 11 | * simple.el (next-buffer, prev-buffer): New commands. | ||
| 12 | Bind C-x left and C-x right to them. | ||
| 13 | |||
| 8 | * info.el (Info-header-line): Mark it as risky-local-variable. | 14 | * info.el (Info-header-line): Mark it as risky-local-variable. |
| 9 | 15 | ||
| 10 | * subr.el (insert-for-yank): Replace `category' property | 16 | * subr.el (insert-for-yank): Replace `category' property |
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." | |||
| 1403 | (unless menu-bar-buffers-menu-command-entries | 1403 | (unless menu-bar-buffers-menu-command-entries |
| 1404 | (setq menu-bar-buffers-menu-command-entries | 1404 | (setq menu-bar-buffers-menu-command-entries |
| 1405 | (list '(command-separator "--") | 1405 | (list '(command-separator "--") |
| 1406 | (list 'next-buffer | ||
| 1407 | 'menu-item | ||
| 1408 | "Next Buffer" | ||
| 1409 | 'next-buffer | ||
| 1410 | :help "Switch to the \"next\" buffer in a cyclic order") | ||
| 1411 | (list 'prev-buffer | ||
| 1412 | 'menu-item | ||
| 1413 | "Previous Buffer" | ||
| 1414 | 'prev-buffer | ||
| 1415 | :help "Switch to the \"previous\" buffer in a cyclic order") | ||
| 1406 | (list 'select-named-buffer | 1416 | (list 'select-named-buffer |
| 1407 | 'menu-item | 1417 | 'menu-item |
| 1408 | "Select Named Buffer..." | 1418 | "Select Named Buffer..." |