changeset 74999:f103a7051e54

(Tool Bar): Describe `grow-only' value of `auto-resize-tool-bars'.
author Kim F. Storm <storm@cua.dk>
date Sat, 30 Dec 2006 21:39:16 +0000
parents 091a17e8cb83
children 555d21ca919c
files lispref/keymaps.texi
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/keymaps.texi	Sat Dec 30 21:39:05 2006 +0000
+++ b/lispref/keymaps.texi	Sat Dec 30 21:39:16 2006 +0000
@@ -2540,6 +2540,11 @@
 @code{auto-resize-tool-bars} is non-@code{nil}, the tool bar expands and
 contracts automatically as needed to hold the specified contents.
 
+  If the value of @code{auto-resize-tool-bars} is @code{grow-only},
+the tool bar expands automatically, but does not contract automatically.
+To contract the tool bar, the user has to redraw the frame by entering
+@kbd{C-l}.
+
   The tool bar contents are controlled by a menu keymap attached to a
 fake ``function key'' called @code{tool-bar} (much like the way the menu
 bar is controlled).  So you define a tool bar item using
@@ -2667,6 +2672,10 @@
 If this variable is non-@code{nil}, the tool bar automatically resizes to
 show all defined tool bar items---but not larger than a quarter of the
 frame's height.
+
+If the value is @code{grow-only}, the tool bar expands automatically,
+but does not contract automatically.  To contract the tool bar, the
+user has to redraw the frame by entering @kbd{C-l}.
 @end defvar
 
 @defvar auto-raise-tool-bar-buttons