From 1c5d5355ec24017aa25fcd32394388867b52c110 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 15 Mar 2025 19:36:51 +0100 Subject: [PATCH] ; 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) --- doc/lispref/keymaps.texi | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5