emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b4685a3: Allow `C-x C-k l' to work even if `C-h l' is unbound


From: Lars Ingebrigtsen
Subject: master b4685a3: Allow `C-x C-k l' to work even if `C-h l' is unbound
Date: Wed, 5 May 2021 08:59:56 -0400 (EDT)

branch: master
commit b4685a3d6183db65b350bafd8246f5e8864c8363
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/kmacro.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/kmacro.el b/lisp/kmacro.el
index 303f38a..3a4ede4 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]