]> git.eshelyaron.com Git - emacs.git/commit
Substitute command keys in 'ielm-header' at use time
authorMatthew Tromp <matthewktromp@gmail.com>
Thu, 10 Aug 2023 14:41:24 +0000 (10:41 -0400)
committerEli Zaretskii <eliz@gnu.org>
Sat, 12 Aug 2023 07:14:36 +0000 (10:14 +0300)
commit556cb01b48e2db6baa6c8793c45358b578724bfe
tree3947eba9ed840b4426f529eec2576aede19973b6
parent99367078e50fd7bc419183f20b118793ddffb039
Substitute command keys in 'ielm-header' at use time

Before, command keys were substituted into the ielm-header when
ielm.el was loaded, which resulted in the substitutions depending on
the user's current buffer instead of the ielm buffer.
For example, if the user was in an info-mode buffer, the key would
appear as 'H' instead of 'C-h m'.
Now, the command key is substituted after the ielm buffer has been
created.
* lisp/ielm.el (ielm-header): Remove substitute-command-keys.
(inferior-emacs-lisp-mode): Add substitute-command-keys.  (Bug#65213)

Copyright-paperwork-exempt: yes
lisp/ielm.el