]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/keymap.el (keymap-substitute): Doc fix. (Bug#60059)
authorStefan Kangas <stefankangas@gmail.com>
Wed, 14 Dec 2022 05:38:14 +0000 (06:38 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 14 Dec 2022 05:39:40 +0000 (06:39 +0100)
(cherry picked from commit 1568123196cd8b57ed64e284b7deb058026be713)

lisp/keymap.el

index eaeba966444d7ab1206ff09c2a5bb6fd4f6d653e..b355f68aa2ffc95c445996229c8575e221218840 100644 (file)
@@ -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