diff options
| author | Lars Ingebrigtsen | 2016-04-30 17:50:09 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-05-01 19:27:12 +0200 |
| commit | 2ef780f306a2168a02d2afc050585cd7ada3ddb0 (patch) | |
| tree | aae01d448cb61e5f56084fa012a75c6bc07ae871 /lisp | |
| parent | ed8474e6ff468b3f395f634c032e8f6cee7b8bde (diff) | |
| download | emacs-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.el | 3 |
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. |
| 190 | This should only be bound to mouse buttons 4 and 5." | 190 | This should be bound only to mouse buttons 4 and 5 on non-Windows |
| 191 | systems." | ||
| 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 |