Mercurial > emacs
comparison lispref/keymaps.texi @ 90732:bc10a33dd40b
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 563-582)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 177-185)
- Merge from emacs--devo--0
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-158
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 01 Jan 2007 03:21:06 +0000 |
parents | 02cf29720f31 f103a7051e54 |
children | 95d0cdf160ea |
comparison
equal
deleted
inserted
replaced
90731:a6c97c25a666 | 90732:bc10a33dd40b |
---|---|
667 This function returns the binding for @var{key} according to the | 667 This function returns the binding for @var{key} according to the |
668 current active keymaps. The result is @code{nil} if @var{key} is | 668 current active keymaps. The result is @code{nil} if @var{key} is |
669 undefined in the keymaps. | 669 undefined in the keymaps. |
670 | 670 |
671 The argument @var{accept-defaults} controls checking for default | 671 The argument @var{accept-defaults} controls checking for default |
672 bindings, as in @code{lookup-key} (above). | 672 bindings, as in @code{lookup-key} (@pxref{Functions for Key Lookup}). |
673 | 673 |
674 When commands are remapped (@pxref{Remapping Commands}), | 674 When commands are remapped (@pxref{Remapping Commands}), |
675 @code{key-binding} normally processes command remappings so as to | 675 @code{key-binding} normally processes command remappings so as to |
676 returns the remapped command that will actually be executed. However, | 676 returns the remapped command that will actually be executed. However, |
677 if @var{no-remap} is non-@code{nil}, @code{key-binding} ignores | 677 if @var{no-remap} is non-@code{nil}, @code{key-binding} ignores |
2538 controls how many lines' worth of height to reserve for the tool bar. A | 2538 controls how many lines' worth of height to reserve for the tool bar. A |
2539 zero value suppresses the tool bar. If the value is nonzero, and | 2539 zero value suppresses the tool bar. If the value is nonzero, and |
2540 @code{auto-resize-tool-bars} is non-@code{nil}, the tool bar expands and | 2540 @code{auto-resize-tool-bars} is non-@code{nil}, the tool bar expands and |
2541 contracts automatically as needed to hold the specified contents. | 2541 contracts automatically as needed to hold the specified contents. |
2542 | 2542 |
2543 If the value of @code{auto-resize-tool-bars} is @code{grow-only}, | |
2544 the tool bar expands automatically, but does not contract automatically. | |
2545 To contract the tool bar, the user has to redraw the frame by entering | |
2546 @kbd{C-l}. | |
2547 | |
2543 The tool bar contents are controlled by a menu keymap attached to a | 2548 The tool bar contents are controlled by a menu keymap attached to a |
2544 fake ``function key'' called @code{tool-bar} (much like the way the menu | 2549 fake ``function key'' called @code{tool-bar} (much like the way the menu |
2545 bar is controlled). So you define a tool bar item using | 2550 bar is controlled). So you define a tool bar item using |
2546 @code{define-key}, like this: | 2551 @code{define-key}, like this: |
2547 | 2552 |
2665 | 2670 |
2666 @defvar auto-resize-tool-bar | 2671 @defvar auto-resize-tool-bar |
2667 If this variable is non-@code{nil}, the tool bar automatically resizes to | 2672 If this variable is non-@code{nil}, the tool bar automatically resizes to |
2668 show all defined tool bar items---but not larger than a quarter of the | 2673 show all defined tool bar items---but not larger than a quarter of the |
2669 frame's height. | 2674 frame's height. |
2675 | |
2676 If the value is @code{grow-only}, the tool bar expands automatically, | |
2677 but does not contract automatically. To contract the tool bar, the | |
2678 user has to redraw the frame by entering @kbd{C-l}. | |
2670 @end defvar | 2679 @end defvar |
2671 | 2680 |
2672 @defvar auto-raise-tool-bar-buttons | 2681 @defvar auto-raise-tool-bar-buttons |
2673 If this variable is non-@code{nil}, tool bar items display | 2682 If this variable is non-@code{nil}, tool bar items display |
2674 in raised form when the mouse moves over them. | 2683 in raised form when the mouse moves over them. |