# HG changeset patch # User Kim F. Storm # Date 1167514756 0 # Node ID f103a7051e546646fb3798a64686945e135cd3a3 # Parent 091a17e8cb830d195690f17cd069d2da465c7209 (Tool Bar): Describe `grow-only' value of `auto-resize-tool-bars'. diff -r 091a17e8cb83 -r f103a7051e54 lispref/keymaps.texi --- 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