From 33e0a104649dd90e347701723fa52af52a8a57c7 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 14 Dec 2022 06:38:14 +0100 Subject: [PATCH] ; * lisp/keymap.el (keymap-substitute): Doc fix. (Bug#60059) (cherry picked from commit 1568123196cd8b57ed64e284b7deb058026be713) --- lisp/keymap.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/keymap.el b/lisp/keymap.el index eaeba966444..b355f68aa2f 100644 --- a/lisp/keymap.el +++ b/lisp/keymap.el @@ -147,7 +147,7 @@ in KEYMAP as NEWDEF those keys that are defined as OLDDEF in OLDMAP. If you don't specify OLDMAP, you can usually get the same results in a cleaner way with command remapping, like this: (define-key KEYMAP [remap OLDDEF] NEWDEF) -\n(fn OLDDEF NEWDEF KEYMAP &optional OLDMAP)" +\n(fn KEYMAP OLDDEF NEWDEF &optional OLDMAP)" ;; Don't document PREFIX in the doc string because we don't want to ;; advertise it. It's meant for recursive calls only. Here's its ;; meaning -- 2.39.2