aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 17:50:09 +0200
committerLars Ingebrigtsen2016-05-01 19:27:12 +0200
commit2ef780f306a2168a02d2afc050585cd7ada3ddb0 (patch)
treeaae01d448cb61e5f56084fa012a75c6bc07ae871 /lisp
parented8474e6ff468b3f395f634c032e8f6cee7b8bde (diff)
downloademacs-2ef780f306a2168a02d2afc050585cd7ada3ddb0.tar.gz
emacs-2ef780f306a2168a02d2afc050585cd7ada3ddb0.zip
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')
-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."
187 187
188(defun mwheel-scroll (event) 188(defun mwheel-scroll (event)
189 "Scroll up or down according to the EVENT. 189 "Scroll up or down according to the EVENT.
190This should only be bound to mouse buttons 4 and 5." 190This should be bound only to mouse buttons 4 and 5 on non-Windows
191systems."
191 (interactive (list last-input-event)) 192 (interactive (list last-input-event))
192 (let* ((curwin (if mouse-wheel-follow-mouse 193 (let* ((curwin (if mouse-wheel-follow-mouse
193 (prog1 194 (prog1