diff options
| author | Glenn Morris | 2019-03-09 10:07:46 -0800 |
|---|---|---|
| committer | Glenn Morris | 2019-03-09 10:07:46 -0800 |
| commit | 3b63afd73b541ea559aa58edc1901c8b30e2af40 (patch) | |
| tree | a68afec4142bd100f3b6dfa3eb90aa2c0a71b34f /doc/lispref/keymaps.texi | |
| parent | e1819a254f28a7dcba3c395c345fe237a512e92e (diff) | |
| parent | 0589de55c465627c16314519568f22daa62ff654 (diff) | |
| download | emacs-3b63afd73b541ea559aa58edc1901c8b30e2af40.tar.gz emacs-3b63afd73b541ea559aa58edc1901c8b30e2af40.zip | |
Merge from origin/emacs-26
0589de5 (origin/emacs-26) Fix markup of fake keys in the ELisp manual
82d4b98 Avoid errors in Auto Revert mode
a3b1935 Mention empty strings in file name expansion, emacs lisp refe...
a38da0d cc-mode.texi: Work around makeinfo alignment bug. Fix proble...
464ee80 Warn against recursive invocations of 'buffer-list-update-hoo...
60b5c10 Provide more details in doc-string of 'delete-windows-on' (Bu...
f0be0f1 Improve documentation of 'delete-windows-on'
f1bddc7 * lisp/frame.el (make-frame-command): Doc fix. (Bug#34715)
2848623 Avoid undefined behavior in gdb-mi.el
dbf1837 * lisp/window.el (fit-frame-to-buffer): Make doc-string more ...
099ef44 Minor spelling and grammar fixes (bug#34756)
52fd400 Minor improvement of documentation of '(when CONDITION . SPEC)'
f872b65 Improve documentation of 'auto-coding-functions'
04cad5e Fix visiting XML files with non-Unix EOL format
a89fabe Update example major mode code in Elisp manual
# Conflicts:
# lisp/autorevert.el
# lisp/window.el
Diffstat (limited to 'doc/lispref/keymaps.texi')
| -rw-r--r-- | doc/lispref/keymaps.texi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index cc0386c8fc7..6ad665a9502 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -2502,7 +2502,7 @@ can do it this way: | |||
| 2502 | 2502 | ||
| 2503 | Emacs usually shows a @dfn{menu bar} at the top of each frame. | 2503 | Emacs usually shows a @dfn{menu bar} at the top of each frame. |
| 2504 | @xref{Menu Bars,,,emacs, The GNU Emacs Manual}. Menu bar items are | 2504 | @xref{Menu Bars,,,emacs, The GNU Emacs Manual}. Menu bar items are |
| 2505 | subcommands of the fake function key @code{menu-bar}, as defined | 2505 | subcommands of the fake function key @key{MENU-BAR}, as defined |
| 2506 | in the active keymaps. | 2506 | in the active keymaps. |
| 2507 | 2507 | ||
| 2508 | To add an item to the menu bar, invent a fake function key of your | 2508 | To add an item to the menu bar, invent a fake function key of your |
| @@ -2554,9 +2554,10 @@ bar item: | |||
| 2554 | @end example | 2554 | @end example |
| 2555 | 2555 | ||
| 2556 | @noindent | 2556 | @noindent |
| 2557 | Here, @code{edit} is the fake function key used by the global map for | 2557 | Here, @code{edit} is the symbol produced by a fake function key, it is |
| 2558 | the @samp{Edit} menu bar item. The main reason to suppress a global | 2558 | used by the global map for the @samp{Edit} menu bar item. The main |
| 2559 | menu bar item is to regain space for mode-specific items. | 2559 | reason to suppress a global menu bar item is to regain space for |
| 2560 | mode-specific items. | ||
| 2560 | 2561 | ||
| 2561 | @defvar menu-bar-final-items | 2562 | @defvar menu-bar-final-items |
| 2562 | Normally the menu bar shows global items followed by items defined by the | 2563 | Normally the menu bar shows global items followed by items defined by the |
| @@ -2601,7 +2602,7 @@ If the value is @code{grow-only}, the tool bar expands automatically, | |||
| 2601 | but does not contract automatically. | 2602 | but does not contract automatically. |
| 2602 | 2603 | ||
| 2603 | The tool bar contents are controlled by a menu keymap attached to a | 2604 | The tool bar contents are controlled by a menu keymap attached to a |
| 2604 | fake function key called @code{tool-bar} (much like the way the menu | 2605 | fake function key called @key{TOOL-BAR} (much like the way the menu |
| 2605 | bar is controlled). So you define a tool bar item using | 2606 | bar is controlled). So you define a tool bar item using |
| 2606 | @code{define-key}, like this: | 2607 | @code{define-key}, like this: |
| 2607 | 2608 | ||