From: Lars Ingebrigtsen Date: Wed, 5 May 2021 12:59:49 +0000 (+0200) Subject: Allow `C-x C-k l' to work even if `C-h l' is unbound X-Git-Tag: emacs-28.0.90~2607 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b4685a3d6183db65b350bafd8246f5e8864c8363;p=emacs.git 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). --- diff --git a/lisp/kmacro.el b/lisp/kmacro.el index 303f38a59b6..3a4ede403a4 100644 --- a/lisp/kmacro.el +++ b/lisp/kmacro.el @@ -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