]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow `C-x C-k l' to work even if `C-h l' is unbound
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 5 May 2021 12:59:49 +0000 (14:59 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 5 May 2021 12:59:49 +0000 (14:59 +0200)
* lisp/kmacro.el (kmacro-edit-lossage): `view-lossage' may be
bound to a different key than `C-h l' (bug#47785).

lisp/kmacro.el

index 303f38a59b68fb57aefbfcb16275455df7a5057f..3a4ede403a446bd5d2b24b60ed2af6b88283bac4 100644 (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