emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: set font size with ctrl-mouse wheel?


From: Drew Adams
Subject: RE: set font size with ctrl-mouse wheel?
Date: Fri, 31 Jul 2009 08:54:05 -0700

> There is an easy way (at least in emacs 23.1):
> (global-set-key (kbd "<C-mouse-5>") 'text-scale-increase)
> (global-set-key (kbd "<C-mouse-4>") 'text-scale-decrease)

That doesn't work in Windows. But this works in Windows:

(global-set-key (kbd "<C-wheel-up>") 'text-scale-increase)
(global-set-key (kbd "<C-wheel-down>") 'text-scale-decrease)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]