diff options
| author | Paul Eggert | 2017-01-01 01:02:46 -0800 |
|---|---|---|
| committer | Paul Eggert | 2017-01-01 01:02:46 -0800 |
| commit | 9bec2fb3c19968a673f761c55057c4dbc9d907be (patch) | |
| tree | 2ce695d1512d61e55318d1d2ad775b3c0073b4f7 | |
| parent | 37b01efe2041999963db839ddf5dc94698e1da61 (diff) | |
| parent | 4179238fa8047837c545227c6e538fb43afaa4ff (diff) | |
| download | emacs-9bec2fb3c19968a673f761c55057c4dbc9d907be.tar.gz emacs-9bec2fb3c19968a673f761c55057c4dbc9d907be.zip | |
Merge from origin/emacs-25
4179238 Improve documentation of 'w32-scroll-lock-modifier'
| -rw-r--r-- | doc/emacs/msdos.texi | 6 | ||||
| -rw-r--r-- | src/w32fns.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/emacs/msdos.texi b/doc/emacs/msdos.texi index 2793bb944bc..eb0fb17ddd1 100644 --- a/doc/emacs/msdos.texi +++ b/doc/emacs/msdos.texi | |||
| @@ -612,7 +612,11 @@ variable @code{w32-rwindow-modifier} controls the effect of the right | |||
| 612 | Windows key, and @code{w32-scroll-lock-modifier} does the same for the | 612 | Windows key, and @code{w32-scroll-lock-modifier} does the same for the |
| 613 | @key{ScrLock} key. If these variables are set to @code{nil}, the | 613 | @key{ScrLock} key. If these variables are set to @code{nil}, the |
| 614 | right Windows key produces the symbol @code{rwindow} and @key{ScrLock} | 614 | right Windows key produces the symbol @code{rwindow} and @key{ScrLock} |
| 615 | produces the symbol @code{scroll}. | 615 | produces the symbol @code{scroll}. If you want @key{ScrLock} to |
| 616 | produce the same effect as in other applications, i.e.@: toggle the | ||
| 617 | Scroll Lock @acronym{LED} indication on the keyboard, set | ||
| 618 | @code{w32-scroll-lock-modifier} to @code{t} or any non-@code{nil} | ||
| 619 | value other than the above modifier symbols. | ||
| 616 | 620 | ||
| 617 | @vindex w32-pass-alt-to-system | 621 | @vindex w32-pass-alt-to-system |
| 618 | @cindex Windows system menu | 622 | @cindex Windows system menu |
diff --git a/src/w32fns.c b/src/w32fns.c index 8c8272b16d4..79762ea36ab 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -9900,7 +9900,8 @@ Set to nil to handle Caps Lock as the `capslock' key. */); | |||
| 9900 | doc: /* Modifier to use for the Scroll Lock ON state. | 9900 | doc: /* Modifier to use for the Scroll Lock ON state. |
| 9901 | The value can be hyper, super, meta, alt, control or shift for the | 9901 | The value can be hyper, super, meta, alt, control or shift for the |
| 9902 | respective modifier, or nil to handle Scroll Lock as the `scroll' key. | 9902 | respective modifier, or nil to handle Scroll Lock as the `scroll' key. |
| 9903 | Any other value will cause the Scroll Lock key to be ignored. */); | 9903 | Any other value will cause the Scroll Lock key to be ignored by Emacs, |
| 9904 | and it will have the same effect as in other applications. */); | ||
| 9904 | Vw32_scroll_lock_modifier = Qnil; | 9905 | Vw32_scroll_lock_modifier = Qnil; |
| 9905 | 9906 | ||
| 9906 | DEFVAR_LISP ("w32-lwindow-modifier", | 9907 | DEFVAR_LISP ("w32-lwindow-modifier", |