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

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

bug#39802: (info "(emacs) Init Rebinding") needs to say it is impossible


From: Robert Pluim
Subject: bug#39802: (info "(emacs) Init Rebinding") needs to say it is impossible to unbind local keys
Date: Thu, 27 Feb 2020 14:26:11 +0100

>>>>> On Thu, 27 Feb 2020 08:14:56 -0500, Noam Postavsky <address@hidden> said:

The text looks good, except for...

    Noam> -@findex define-key
    Noam> -  For example, Texinfo mode runs the hook @code{texinfo-mode-hook}.
    Noam> -Here's how you can use the hook to add local bindings for @kbd{C-c n}
    Noam> -and @kbd{C-c p} in Texinfo mode:
    Noam> +  Since a mode's keymaps are not constructed until it has been 
loaded,
    Noam> +you must delay running code which modifies them until, e.g., by
    Noam> +putting it no a @dfn{mode hook} (pxref{(Hooks)}).  For example,
                      ^^
                      
Robert





reply via email to

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