Mercurial > emacs
changeset 60447:881b9bd682ac
(Menu Separators, Tool Bar): Get rid of "Emacs 21".
(Menu Bar): Fix when menu-bar-update-hook is called.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 06 Mar 2005 18:17:08 +0000 |
parents | b26c30e5d770 |
children | 1f2f39d6b2e7 |
files | lispref/keymaps.texi |
diffstat | 1 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/keymaps.texi Sun Mar 06 18:15:56 2005 +0000 +++ b/lispref/keymaps.texi Sun Mar 06 18:17:08 2005 +0000 @@ -1930,8 +1930,8 @@ That specifies the default kind of separator. (For compatibility, @code{""} and @code{-} also count as separators.) - Starting in Emacs 21, certain other values of @var{separator-type} -specify a different style of separator. Here is a table of them: + Certain other values of @var{separator-type} specify a different +style of separator. Here is a table of them: @table @code @item "--no-line" @@ -2247,9 +2247,11 @@ @end defvar @defvar menu-bar-update-hook -This normal hook is run whenever the user clicks on the menu bar, before -displaying a submenu. You can use it to update submenus whose contents -should vary. +This normal hook is run by redisplay to update the menu bar contents, +before redisplaying the menu bar. You can use it to update submenus +whose contents should vary. Since this hook is run frequently, we +advise you to ensure that the functions it calls do not take much time +in the usual case. @end defvar @node Tool Bar @@ -2258,7 +2260,7 @@ A @dfn{tool bar} is a row of icons at the top of a frame, that execute commands when you click on them---in effect, a kind of graphical menu -bar. Emacs supports tool bars starting with version 21. +bar. The frame parameter @code{tool-bar-lines} (X resource @samp{toolBar}) controls how many lines' worth of height to reserve for the tool bar. A