aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Pluim2023-03-20 16:09:51 +0100
committerRobert Pluim2023-03-20 16:21:36 +0100
commit6bf441ff11540f2c49cb4f9d506597217cdc73d6 (patch)
tree0541344e336037717847aa91fc18f7359fb96692
parent786de66ec3c4cff90cafd0f8a68f9bce027e9947 (diff)
downloademacs-6bf441ff11540f2c49cb4f9d506597217cdc73d6.tar.gz
emacs-6bf441ff11540f2c49cb4f9d506597217cdc73d6.zip
Warn package authors away from keymap-unset with REMOVE
* doc/lispref/keymaps.texi (Changing Key Bindings): Ask package authors to not use the REMOVE argument to `keymap-unset'.
-rw-r--r--doc/lispref/keymaps.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi
index c17c8a2dc3f..0eea696c612 100644
--- a/doc/lispref/keymaps.texi
+++ b/doc/lispref/keymaps.texi
@@ -1452,6 +1452,12 @@ keymap; using @var{remove} instead will allow the key in the parent keymap
1452to be used. 1452to be used.
1453@end defun 1453@end defun
1454 1454
1455Note: using @code{keymap-unset} with @var{remove} non-@code{nil} is
1456intended for users to put in their init file; Emacs packages should
1457avoid using it if possible, since they have complete control over
1458their own keymaps anyway, and they should not be altering other
1459packages' keymaps.
1460
1455 This example creates a sparse keymap and makes a number of 1461 This example creates a sparse keymap and makes a number of
1456bindings in it: 1462bindings in it:
1457 1463