Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
59f63e9a
Commit
59f63e9a
authored
Jul 18, 2007
by
Martin Rudalics
Browse files
(kmacro-end-macro): When ignoring empty macro
avoid incorrect kmacro-ring-empty-p messages.
parent
41bd52f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/kmacro.el
lisp/kmacro.el
+4
-1
No files found.
lisp/kmacro.el
View file @
59f63e9a
...
...
@@ -606,8 +606,11 @@ An argument of zero means repeat until error."
(
unless
executing-kbd-macro
(
end-kbd-macro
arg
#'
kmacro-loop-setup-function
)
(
when
(
and
last-kbd-macro
(
=
(
length
last-kbd-macro
)
0
))
(
setq
last-kbd-macro
nil
)
(
message
"Ignore empty macro"
)
(
kmacro-pop-ring
))))
;; Don't call `kmacro-ring-empty-p' to avoid its messages.
(
while
(
and
(
null
last-kbd-macro
)
kmacro-ring
)
(
kmacro-pop-ring1
)))))
;;;###autoload
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment