summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-02-24 19:39:16 +0200
committerEli Zaretskii <eliz@gnu.org>2018-02-24 19:39:16 +0200
commit560a23e1dab7a6a203a4a70b3925a87d6cfddf76 (patch)
tree9746a06fec32b8ca6b8627e69b158b5f8439c134 /doc/emacs
parentb0be19b4ae203e0d05b0f7af5dbd195df21bd4ac (diff)
downloademacs-560a23e1dab7a6a203a4a70b3925a87d6cfddf76.tar.gz
Document reserved keys
* doc/emacs/custom.texi (Key Bindings): Mention keys reserved for users. (Bug#30530)
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/custom.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index e98884cb920..af5429d50c7 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -1417,6 +1417,14 @@ commands, and @dfn{keymaps}, which record key bindings. It also
explains how to customize key bindings, which is done by editing your
init file (@pxref{Init Rebinding}).
+ Since most modes define their own key bindings, activating a mode
+might override your custom key bindings. A small number of keys are
+reserved for user-defined bindings, and should not be used by modes,
+so key bindings using those keys are safer in this regard. The
+reserved key sequences are those consisting of @kbd{C-c} followed by a
+letter (either upper or lower case), and function keys @key{F5}
+through @key{F9} without modifiers (@pxref{Modifier Keys}).
+
@menu
* Keymaps:: Generalities. The global keymap.
* Prefix Keymaps:: Keymaps for prefix keys.