GNU bug report logs -
#28818
kmacro stepping: void-variable kmacro-step-edit-active
Previous Next
Reported by: charles <at> aurox.ch (Charles A. Roelli)
Date: Fri, 13 Oct 2017 18:37:02 UTC
Severity: normal
Merged with 18708
Found in version 24.4.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 28818 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 13 Oct 2017 20:36:16 +0200
> From: charles <at> aurox.ch (Charles A. Roelli)
>
> From the pretest 26.0.90:
>
> C-x b RET > switch to *scratch*
> F3 abc F4 > define a simple kmacro
> C-x C-k SPC > edit it
> SPC SPC SPC > run through it
>
> Error in post-command-hook (kmacro-step-edit-post-command):
> (void-variable kmacro-step-edit-active)
Does the below fix this?
diff --git a/lisp/kmacro.el b/lisp/kmacro.el
index 582a58e..4abc571 100644
--- a/lisp/kmacro.el
+++ b/lisp/kmacro.el
@@ -937,7 +937,7 @@ kmacro-edit-lossage
;;; Single-step editing of keyboard macros
-(defvar kmacro-step-edit-active) ;; step-editing active
+(defvar kmacro-step-edit-active nil) ;; step-editing active
(defvar kmacro-step-edit-new-macro) ;; storage for new macro
(defvar kmacro-step-edit-inserting) ;; inserting into macro
(defvar kmacro-step-edit-appending) ;; append to end of macro
This bug report was last modified 7 years and 215 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.