aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2019-09-27 01:08:09 +0200
committerJuanma Barranquero2019-09-27 01:09:34 +0200
commit7e6fc3842e54dadbc4b570ab138d831a7f988947 (patch)
tree0729ed360b9122380895354cdd6408cf809fd3a4 /src
parent1a63e922e80edbcf09c00fd67b32dcb7e46e172f (diff)
downloademacs-7e6fc3842e54dadbc4b570ab138d831a7f988947.tar.gz
emacs-7e6fc3842e54dadbc4b570ab138d831a7f988947.zip
* src/w32fns.c (Fw32_register_hot_key): Fix typo in docstring
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c5
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
8535vector form that would be acceptable to `define-key' (e.g. [A-tab] for 8535vector form that would be acceptable to `define-key' (e.g. [A-tab] for
8536Alt-Tab). The meta modifier is interpreted as Alt if 8536Alt-Tab). The meta modifier is interpreted as Alt if
8537`w32-alt-is-meta' is t, and hyper is always interpreted as the Windows 8537`w32-alt-is-meta' is t, and hyper is always interpreted as the Windows
8538modifier keys. The return value is the hotkey-id if registered, otherwise nil. 8538modifier keys. The return value is the hotkey-id if registered,
8539otherwise nil.
8539 8540
8540On Windows versions since NT, KEY can also be specified as [M-], [s-] or 8541On Windows versions since NT, KEY can also be specified as [M-], [s-] or
8541[h-] to indicate that all combinations of that key should be processed 8542[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
8543modifiers are interpreted according to the current values of 8544modifiers are interpreted according to the current values of
8544`w32-lwindow-modifier' and `w32-rwindow-modifier'. For instance, 8545`w32-lwindow-modifier' and `w32-rwindow-modifier'. For instance,
8545setting `w32-lwindow-modifier' to `super' and then calling 8546setting `w32-lwindow-modifier' to `super' and then calling
8546`(register-hot-key [s-])' grabs all combinations of the left Windows 8547`(w32-register-hot-key [s-])' grabs all combinations of the left Windows
8547key to Emacs, but leaves the right Windows key free for the operating 8548key to Emacs, but leaves the right Windows key free for the operating
8548system keyboard shortcuts. The return value is t if the call affected 8549system keyboard shortcuts. The return value is t if the call affected
8549any key combinations, otherwise nil. */) 8550any key combinations, otherwise nil. */)