diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2019-08-20 19:04:16 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2019-10-04 18:02:45 +0200 |
commit | 591c8bc70fc5f0e1de5aa9a05800375ca4da8587 (patch) | |
tree | 5c51faaff0ae7ffdece2f4bc771a6f04e69caeeb /lisp/scroll-lock.el | |
parent | ef8fadf8c1399b4ce7086141ebf96610b6475df2 (diff) | |
download | emacs-591c8bc70fc5f0e1de5aa9a05800375ca4da8587.tar.gz |
Bind Scroll_Lock to scroll-lock-mode globally
* lisp/bindings.el (global-map): Bind Scroll_Lock to
scroll-lock-mode. (Bug#6861)
* lisp/scroll-lock.el (scroll-lock-mode): Note that the binding will
not work if 'w32-scroll-lock-modifier' is non-nil.
* etc/NEWS: Announce it.
Diffstat (limited to 'lisp/scroll-lock.el')
-rw-r--r-- | lisp/scroll-lock.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/scroll-lock.el b/lisp/scroll-lock.el index 3a74c11b7a1..36e2264fe4f 100644 --- a/lisp/scroll-lock.el +++ b/lisp/scroll-lock.el @@ -54,7 +54,10 @@ When enabled, keys that normally move point by line or paragraph will scroll the buffer by the respective amount of lines instead and point will be kept vertically fixed relative to window -boundaries during scrolling." +boundaries during scrolling. + +Note that the default key binding to Scroll_Lock will not work on +MS-Windows systems if `w32-scroll-lock-modifier' is non-nil." :lighter " ScrLck" :keymap scroll-lock-mode-map (if scroll-lock-mode |