aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 17:50:09 +0200
committerLars Ingebrigtsen2016-04-30 17:50:09 +0200
commit696052b5fdfbc5c25dff3c6b081aebe70f6d06c7 (patch)
tree64c2244013608a38845288e643e284808a68db5f /lisp
parentcd193a871f5a8e1c81ba86fc398ac382fa814383 (diff)
downloademacs-696052b5fdfbc5c25dff3c6b081aebe70f6d06c7.tar.gz
emacs-696052b5fdfbc5c25dff3c6b081aebe70f6d06c7.zip
Doc clarification to mwheel-scroll
* lisp/mwheel.el (mwheel-scroll): Mention that the restriction does not apply to Windows (bug#19209).
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