From: Stefan Kangas Date: Sat, 15 Mar 2025 18:36:51 +0000 (+0100) Subject: ; Doc fix for legacy keymap functions X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1c5d5355ec24017aa25fcd32394388867b52c110;p=emacs.git ; Doc fix for legacy keymap functions * doc/lispref/keymaps.texi (Low-Level Key Binding): Add new alternatives for two more legacy functions. (cherry picked from commit dcf3916e558d974aef6516e5709379fa3c762832) --- diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index 76c5528952d..61e7398067a 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi @@ -1844,6 +1844,8 @@ local keymap, or @code{nil} if it is undefined there. The argument @var{accept-defaults} controls checking for default bindings, as in @code{lookup-key} (above). + +Use @code{keymap-local-lookup} instead of this function. @end defun @defun global-key-binding key &optional accept-defaults @@ -1852,6 +1854,8 @@ current global keymap, or @code{nil} if it is undefined there. The argument @var{accept-defaults} controls checking for default bindings, as in @code{lookup-key} (above). + +Use @code{keymap-global-lookup} instead of this function. @end defun @defun event-convert-list list