614 |
counting the definition just completed as the first repetition. |
counting the definition just completed as the first repetition. |
615 |
An argument of zero means repeat until error." |
An argument of zero means repeat until error." |
616 |
(interactive "P") |
(interactive "P") |
617 |
(end-kbd-macro arg #'kmacro-loop-setup-function) |
;; Isearch may push the kmacro-end-macro key sequence onto the macro. |
618 |
(when (and last-kbd-macro (= (length last-kbd-macro) 0)) |
;; Just ignore it when executing the macro. |
619 |
(message "Ignore empty macro") |
(unless executing-kbd-macro |
620 |
(kmacro-pop-ring))) |
(end-kbd-macro arg #'kmacro-loop-setup-function) |
621 |
|
(when (and last-kbd-macro (= (length last-kbd-macro) 0)) |
622 |
|
(message "Ignore empty macro") |
623 |
|
(kmacro-pop-ring)))) |
624 |
|
|
625 |
|
|
626 |
;;;###autoload |
;;;###autoload |