Sean MacLennan writes:
On Fri, 15 Oct 2010 12:52:04 -0400
"Sirano Dhe-Paganon" <sirano.dhepaganon(a)utoronto.ca> wrote:
> In order to zoom on-the-fly in xemacs, I'd like to bind the
> Control-mouse_wheel to the facemenu-make-larger command; but I have
> been unable to do so. The following, for example, does not work:
> (define-key global-map '(control mouse-wheel) 'facemenu-make-larger).
(global-set-key [(control button4)] 'facemenu-make-smaller)
(global-set-key [(control button5)] 'facemenu-make-larger)
Patches to make "mouse-wheel-up" and "mouse-wheel-down" aliases for
button4 and button5 welcome. Don't forget the documentation!
XEmacs-Beta mailing list