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

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

bug#23236: 25.0.90; Document command remapping in Emacs manual, not just


From: Eli Zaretskii
Subject: bug#23236: 25.0.90; Document command remapping in Emacs manual, not just Elisp manual
Date: Thu, 07 Apr 2016 18:30:22 +0300

> Date: Thu, 7 Apr 2016 08:04:19 -0700 (PDT)
> From: Drew Adams <address@hidden>
> 
> Search the Emacs manual for "remap".  You will find nothing about
> command remapping.

Because it's not a user-level feature.

> (global-set-key [remap foo] 'bar) is something that _users_ do.
> Likewise (define-key some-map [remap foo] 'bar).

It doesn't matter who does it.  What matters is that these are Lisp
expressions, and those are usually documented in the ELisp manuals.
global-set-key is only documented in the user manual as a command, not
as a function.  We only show a few examples of using it as a function.

> This is not something that is only for Elisp code.

I think it is.





reply via email to

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