/[emacs]/emacs/lispref/keymaps.texi
ViewVC logotype

Diff of /emacs/lispref/keymaps.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.42 by lektu, Tue Feb 4 14:47:53 2003 UTC revision 1.43 by rms, Mon Jul 14 16:03:04 2003 UTC
# Line 937  An error is signaled if @var{key} is not Line 937  An error is signaled if @var{key} is not
937  @end example  @end example
938  @end defun  @end defun
939    
940    @defun current-active-maps
941    This returns the list of keymaps that would be used by the command
942    loop in the current circumstances to look up a key sequence.
943    @end defun
944    
945  @defun local-key-binding key &optional accept-defaults  @defun local-key-binding key &optional accept-defaults
946  This function returns the binding for @var{key} in the current  This function returns the binding for @var{key} in the current
947  local keymap, or @code{nil} if it is undefined there.  local keymap, or @code{nil} if it is undefined there.
# Line 1473  of a window. Line 1478  of a window.
1478  These are not all the keymaps you would see in actuality.  These are not all the keymaps you would see in actuality.
1479  @end defun  @end defun
1480    
1481    @defun map-keymap function keymap
1482    The function @code{map-keymap} calls @var{function} once
1483    for each binding in @var{keymap}.  It passes two arguments,
1484    the event type and the value of the binding.  If @var{keymap}
1485    has a parent, the parent's bindings are included as well.
1486    
1487    This function is the cleanest way to examine all the bindings
1488    in a keymap.
1489    @end defun
1490    
1491  @defun where-is-internal command &optional keymap firstonly noindirect  @defun where-is-internal command &optional keymap firstonly noindirect
1492  This function is a subroutine used by the @code{where-is} command  This function is a subroutine used by the @code{where-is} command
1493  (@pxref{Help, , Help, emacs,The GNU Emacs Manual}).  It returns a list  (@pxref{Help, , Help, emacs,The GNU Emacs Manual}).  It returns a list
# Line 1573  the string as an argument when you call Line 1588  the string as an argument when you call
1588  @code{make-sparse-keymap} or @code{define-prefix-command}  @code{make-sparse-keymap} or @code{define-prefix-command}
1589  (@pxref{Creating Keymaps}).  (@pxref{Creating Keymaps}).
1590    
1591    @defun keymap-prompt keymap
1592    This function returns the overall prompt string of @var{keymap},
1593    or @code{nil} if it has none.
1594    @end defun
1595    
1596  The order of items in the menu is the same as the order of bindings in  The order of items in the menu is the same as the order of bindings in
1597  the keymap.  Since @code{define-key} puts new bindings at the front, you  the keymap.  Since @code{define-key} puts new bindings at the front, you
1598  should define the menu items starting at the bottom of the menu and  should define the menu items starting at the bottom of the menu and

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26