summaryrefslogtreecommitdiff
path: root/lisp/kmacro.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-05-05 14:59:49 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-05-05 14:59:49 +0200
commitb4685a3d6183db65b350bafd8246f5e8864c8363 (patch)
treec48e546c25ebcbd219c3b322e542cb9cc0653300 /lisp/kmacro.el
parent14c9245e8243cac2388149f06ff91ba809384410 (diff)
downloademacs-b4685a3d6183db65b350bafd8246f5e8864c8363.tar.gz
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).
Diffstat (limited to 'lisp/kmacro.el')
-rw-r--r--lisp/kmacro.el2
1 files changed, 1 insertions, 1 deletions
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