summaryrefslogtreecommitdiff
path: root/lisp/mwheel.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-04-30 17:50:09 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2016-05-01 19:27:12 +0200
commit2ef780f306a2168a02d2afc050585cd7ada3ddb0 (patch)
treeaae01d448cb61e5f56084fa012a75c6bc07ae871 /lisp/mwheel.el
parented8474e6ff468b3f395f634c032e8f6cee7b8bde (diff)
downloademacs-2ef780f306a2168a02d2afc050585cd7ada3ddb0.tar.gz
Doc clarification to mwheel-scroll
* lisp/mwheel.el (mwheel-scroll): Mention that the restriction does not apply to Windows (bug#19209). (cherry picked from commit 696052b5fdfbc5c25dff3c6b081aebe70f6d06c7)
Diffstat (limited to 'lisp/mwheel.el')
-rw-r--r--lisp/mwheel.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mwheel.el b/lisp/mwheel.el
index f1450d470fc..9e03854fd11 100644
--- a/lisp/mwheel.el
+++ b/lisp/mwheel.el
@@ -187,7 +187,8 @@ This can be slightly disconcerting, but some people prefer it."
(defun mwheel-scroll (event)
"Scroll up or down according to the EVENT.
-This should only be bound to mouse buttons 4 and 5."
+This should be bound only to mouse buttons 4 and 5 on non-Windows
+systems."
(interactive (list last-input-event))
(let* ((curwin (if mouse-wheel-follow-mouse
(prog1