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 /lisp/simple.el | |
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 'lisp/simple.el')
-rw-r--r-- | lisp/simple.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index f85428ca740..4551b749d56 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -10053,6 +10053,8 @@ PREFIX is the string that represents this modifier in an event type symbol." event-type (cons event-type (cdr event))))))) +;; This is what makes "C-x @" followed by [hsmaSc] work even though +;; you won't find any (define-key ctl-x-map "@" ...) binding. (define-key function-key-map [?\C-x ?@ ?h] 'event-apply-hyper-modifier) (define-key function-key-map [?\C-x ?@ ?s] 'event-apply-super-modifier) (define-key function-key-map [?\C-x ?@ ?m] 'event-apply-meta-modifier) |