help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Binding ``' in info-mode-only


From: Stefan Monnier
Subject: Re: Binding ``' in info-mode-only
Date: Sat, 27 Feb 2010 15:14:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

> I'd like to bind the ``' key to `Info-scroll-down` in Info mode only
> so that I can comfortably read with my left hand as I do with my
> right.  I don't want to use (add-hook … '(global-set-key)) because
> that would set the key in all of my other buffers.

If you don't want the binding to be global, then don't use
"global-set-key" but "local-set-key" instead.
I hope it sounds obvious enough,


        Stefan


reply via email to

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