diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2019-09-27 01:08:09 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2019-09-27 01:09:34 +0200 |
commit | 7e6fc3842e54dadbc4b570ab138d831a7f988947 (patch) | |
tree | 0729ed360b9122380895354cdd6408cf809fd3a4 /src/w32fns.c | |
parent | 1a63e922e80edbcf09c00fd67b32dcb7e46e172f (diff) | |
download | emacs-7e6fc3842e54dadbc4b570ab138d831a7f988947.tar.gz |
* src/w32fns.c (Fw32_register_hot_key): Fix typo in docstring
Diffstat (limited to 'src/w32fns.c')
-rw-r--r-- | src/w32fns.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index bb28c01795f..8bc5707bfa7 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -8535,7 +8535,8 @@ On Windows 98 and ME, KEY must be a one element key definition in vector form that would be acceptable to `define-key' (e.g. [A-tab] for Alt-Tab). The meta modifier is interpreted as Alt if `w32-alt-is-meta' is t, and hyper is always interpreted as the Windows -modifier keys. The return value is the hotkey-id if registered, otherwise nil. +modifier keys. The return value is the hotkey-id if registered, +otherwise nil. On Windows versions since NT, KEY can also be specified as [M-], [s-] or [h-] to indicate that all combinations of that key should be processed @@ -8543,7 +8544,7 @@ by Emacs instead of the operating system. The super and hyper modifiers are interpreted according to the current values of `w32-lwindow-modifier' and `w32-rwindow-modifier'. For instance, setting `w32-lwindow-modifier' to `super' and then calling -`(register-hot-key [s-])' grabs all combinations of the left Windows +`(w32-register-hot-key [s-])' grabs all combinations of the left Windows key to Emacs, but leaves the right Windows key free for the operating system keyboard shortcuts. The return value is t if the call affected any key combinations, otherwise nil. */) |