Change the call signature to keymap-substitute

* lisp/keymap.el (keymap-substitute): Make the keymap the first
parameter for symmetry with the other functions.
* lisp/emacs-lisp/shortdoc.el (keymaps):
* lisp/emacs-lisp/bytecomp.el (lambda): Adjust.
This commit is contained in:
Lars Ingebrigtsen 2021-11-17 08:34:32 +01:00
parent 249095fd67
commit cde5dcd441
3 changed files with 3 additions and 3 deletions

View file

@ -1242,7 +1242,7 @@ There can be any number of :example/:result elements."
(keymap-global-unset
:no-eval (keymap-global-unset "C-c C-c"))
(keymap-substitute
:no-eval (keymap-substitute "C-c C-c" "M-a" map))
:no-eval (keymap-substitute map "C-c C-c" "M-a"))
(keymap-set-after
:no-eval (keymap-set-after map "<separator-2>" menu-bar-separator))
"Predicates"