]> code.delx.au - gnu-emacs/commitdiff
Doc clarification to mwheel-scroll
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 30 Apr 2016 15:50:09 +0000 (17:50 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 1 May 2016 17:27:12 +0000 (19:27 +0200)
* lisp/mwheel.el (mwheel-scroll): Mention that the restriction
does not apply to Windows (bug#19209).

(cherry picked from commit 696052b5fdfbc5c25dff3c6b081aebe70f6d06c7)

lisp/mwheel.el

index f1450d470fcdb4848ff74b0a122fb96c47900e1c..9e03854fd11668455515306647a57f66ba1a11b2 100644 (file)
@@ -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