]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typos in documented names of keymap-* functions
authorEli Zaretskii <eliz@gnu.org>
Mon, 3 Jul 2023 12:12:12 +0000 (15:12 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 3 Jul 2023 12:12:12 +0000 (15:12 +0300)
* doc/lispref/keymaps.texi (Functions for Key Lookup): Fix typos
in function names.  (Bug#64434)

doc/lispref/keymaps.texi

index 6d07ad5be2cc26a1f3d4153a2f808a5d6ab1169f..bbf7138b5be3becb493430309b274f3a780143fe 100644 (file)
@@ -1338,7 +1338,7 @@ Used in keymaps to undefine keys.  It calls @code{ding}, but does
 not cause an error.
 @end deffn
 
-@defun keymap-local-binding key &optional accept-defaults
+@defun keymap-local-lookup key &optional accept-defaults
 This function returns the binding for @var{key} in the current
 local keymap, or @code{nil} if it is undefined there.
 
@@ -1346,7 +1346,7 @@ The argument @var{accept-defaults} controls checking for default bindings,
 as in @code{keymap-lookup} (above).
 @end defun
 
-@defun keymap-global-binding key &optional accept-defaults
+@defun keymap-global-lookup key &optional accept-defaults
 This function returns the binding for command @var{key} in the
 current global keymap, or @code{nil} if it is undefined there.