diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-12-23 14:37:04 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-12-23 14:37:04 +0200 |
commit | 6dda2106ece7c307ed5c0a6cb892e736516effeb (patch) | |
tree | 8385c15915e25c6a42a81af94a661cf277be64f7 /doc/emacs/custom.texi | |
parent | a0738e8ad1384e40c8eebca41b16a0b5125d625b (diff) | |
download | emacs-6dda2106ece7c307ed5c0a6cb892e736516effeb.tar.gz emacs-6dda2106ece7c307ed5c0a6cb892e736516effeb.tar.bz2 emacs-6dda2106ece7c307ed5c0a6cb892e736516effeb.zip |
; Improve documentation of "C-x @"
* doc/emacs/custom.texi (Modifier Keys): Document how to enter
Shift, Control, and Meta using "C-x @".
* lisp/simple.el (function-key-map): Add commentary to "C-x @"
bindings to make them easier to discover.
Diffstat (limited to 'doc/emacs/custom.texi')
-rw-r--r-- | doc/emacs/custom.texi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index aaf41d2aef1..f75512a00e9 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi @@ -1990,13 +1990,17 @@ to assign meanings to key bindings that use these modifiers. The modifier bits are labeled as @samp{s-}, @samp{H-} and @samp{A-} respectively. +@cindex modifier keys unsupported by keyboard Even if your keyboard lacks these additional modifier keys, you can -enter it using @kbd{C-x @@}: @kbd{C-x @@ h} adds the Hyper flag to +enter them using @kbd{C-x @@}: @kbd{C-x @@ h} adds the Hyper flag to the next character, @kbd{C-x @@ s} adds the Super flag, and @kbd{C-x @@ a} adds the Alt flag. For instance, @kbd{C-x @@ h C-a} is a way to enter @kbd{Hyper-Control-a}. (Unfortunately, there is no way to add two modifiers by using @kbd{C-x @@} twice for the same character, because the first one goes to work on the @kbd{C-x}.) +You can similarly enter the Shift, Control, and Meta modifiers by +using @kbd{C-x @ S}, @kbd{C-x @ c}, and @kbd{C-x @ m}, respectively, +although this is rarely needed. @node Function Keys @subsection Rebinding Function Keys |