Fix mouse-wheel-text-scale
* lisp/mwheel.el (mouse-wheel-text-scale): Test for alternative events correctly.
This commit is contained in:
parent
dc0ed8818b
commit
c484b749f2
1 changed files with 2 additions and 2 deletions
|
@ -415,8 +415,8 @@ value of ARG, and the command uses it in subsequent scrolls."
|
|||
(cond ((memq button (list mouse-wheel-down-event
|
||||
mouse-wheel-down-alternate-event))
|
||||
(text-scale-increase 1))
|
||||
((eq button (list mouse-wheel-up-event
|
||||
mouse-wheel-up-alternate-event))
|
||||
((memq button (list mouse-wheel-up-event
|
||||
mouse-wheel-up-alternate-event))
|
||||
(text-scale-decrease 1)))
|
||||
(select-window selected-window))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue