[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binding M-n in info mode.
From: |
Dani Moncayo |
Subject: |
Re: Binding M-n in info mode. |
Date: |
Fri, 2 Sep 2011 21:59:19 +0200 |
>> What is that? Poetry?? ;))
>
> It is, and it's pretty good. Nice one, Thien.
I agree, of course.
>> Well, thanks to all of you for helping!
>
> What Thien means is you should, in your .emacs, use
>
> ;; COMPLETELY untested
> (eval-after-load "info"
> (progn
> (define-key Info-mode-map (kbd "M-n") #'forward-paragraph)
> (define-key Info-mode-map (kbd "M-n") #'backward-paragraph)))
>
> because it (a) delays the remapping and (b) is less memory sapping.
> Furthermore, you could, to prevent "profligate consing", choose to
> define the custom keybindings as an Info-mode-hook.
Thanks for the extra explanation.
--
Dani Moncayo