Allow C-x C-k l' to work even if C-h l' is unbound

* lisp/kmacro.el (kmacro-edit-lossage): `view-lossage' may be
bound to a different key than `C-h l' (bug#47785).
This commit is contained in:
Lars Ingebrigtsen 2021-05-05 14:59:49 +02:00
parent 14c9245e82
commit b4685a3d61

View file

@ -965,7 +965,7 @@ without repeating the prefix."
"Edit most recent 300 keystrokes as a keyboard macro."
(interactive)
(kmacro-push-ring)
(edit-kbd-macro "\C-hl"))
(edit-kbd-macro (car (where-is-internal 'view-lossage))))
;;; Single-step editing of keyboard macros