emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/kmacro.el


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/lisp/kmacro.el
Date: Wed, 30 Mar 2005 05:25:10 -0500

Index: emacs/lisp/kmacro.el
diff -c emacs/lisp/kmacro.el:1.26 emacs/lisp/kmacro.el:1.27
*** emacs/lisp/kmacro.el:1.26   Wed Feb  9 15:50:42 2005
--- emacs/lisp/kmacro.el        Wed Mar 30 10:25:10 2005
***************
*** 614,623 ****
  counting the definition just completed as the first repetition.
  An argument of zero means repeat until error."
    (interactive "P")
!   (end-kbd-macro arg #'kmacro-loop-setup-function)
!   (when (and last-kbd-macro (= (length last-kbd-macro) 0))
!     (message "Ignore empty macro")
!     (kmacro-pop-ring)))
  
  
  ;;;###autoload
--- 614,626 ----
  counting the definition just completed as the first repetition.
  An argument of zero means repeat until error."
    (interactive "P")
!    ;; Isearch may push the kmacro-end-macro key sequence onto the macro.
!    ;; Just ignore it when executing the macro.
!   (unless executing-kbd-macro
!     (end-kbd-macro arg #'kmacro-loop-setup-function)
!     (when (and last-kbd-macro (= (length last-kbd-macro) 0))
!       (message "Ignore empty macro")
!       (kmacro-pop-ring))))
  
  
  ;;;###autoload




reply via email to

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