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

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

Re: Binding M-n in info mode.


From: Eli Zaretskii
Subject: Re: Binding M-n in info mode.
Date: Fri, 02 Sep 2011 12:25:38 +0300

> Date: Fri, 2 Sep 2011 11:14:11 +0200
> From: Dani Moncayo <address@hidden>
> 
> It worked right, but then I realized that info mode binds M-n to
> clone-buffer.  In this mode I also want to bind M-n to
> forward-paragraph, so that I added this:
> 
>   (define-key Info-mode-map "\M-n" 'forward-paragraph)
> 
> The problem is that this last remapping fails when starting my Emacs
> because, at that time, the variable Info-mode-map doesn't not exits.
> 
> What is the right way of solving this?

Do `(require 'info)' before you remap.



reply via email to

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