From 7e6fc3842e54dadbc4b570ab138d831a7f988947 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 27 Sep 2019 01:08:09 +0200 Subject: [PATCH] * src/w32fns.c (Fw32_register_hot_key): Fix typo in docstring --- src/w32fns.c | 5 +++-- 1 file 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. */) -- 2.39.2