]> git.eshelyaron.com Git - emacs.git/commit
Make sure the binding shown by echo-keystrokes-help is not shadowed
authorDmitry Gutov <dmitry@gutov.dev>
Sun, 11 Feb 2024 20:32:44 +0000 (22:32 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 12 Feb 2024 07:01:56 +0000 (08:01 +0100)
commit915431582ba6cb89c1ea7eb63c52d6fcc9847ac4
treed09f6a28857fe62084680702cc90c02b88beb41d
parentfb34c561396e7cefa3b217a5399ec5457fe549f9
Make sure the binding shown by echo-keystrokes-help is not shadowed

And choose just one binding to display rather than two together.
(https://lists.gnu.org/archive/html/emacs-devel/2024-02/msg00311.html)

* lisp/help.el (help--append-keystrokes-help): New function.

* src/keyboard.c (syms_of_keyboard): Add a symbol for it.
(echo_dash): Use them here.

(cherry picked from commit c0f656617d6848b94413b79b390788565d338fcd)
lisp/help.el
src/keyboard.c