summaryrefslogtreecommitdiff
path: root/lisp/edmacro.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-09-22 20:26:40 +0200
committerStefan Kangas <stefan@marxist.se>2021-09-22 20:26:40 +0200
commitaebba085cba13ad1439462923ffa0520456f1aad (patch)
tree46a8edec2ec2d81da8c4031a79fc5ee08c016933 /lisp/edmacro.el
parent7f06fe894cabf8f33e10386d6adb5d2ce9481a25 (diff)
downloademacs-aebba085cba13ad1439462923ffa0520456f1aad.tar.gz
emacs-aebba085cba13ad1439462923ffa0520456f1aad.tar.bz2
emacs-aebba085cba13ad1439462923ffa0520456f1aad.zip
; More minor stylistic fixes found by checkdoc
Diffstat (limited to 'lisp/edmacro.el')
-rw-r--r--lisp/edmacro.el13
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index 8ee413acd06..e90b3a006ef 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -108,7 +108,7 @@ With a prefix argument, format the macro in a more concise way."
(memq cmd-noremap '(call-last-kbd-macro kmacro-call-macro kmacro-end-or-call-macro kmacro-end-and-call-macro))
(member keys '("\r" [return])))
(or last-kbd-macro
- (y-or-n-p "No keyboard macro defined. Create one? ")
+ (y-or-n-p "No keyboard macro defined. Create one?")
(keyboard-quit))
(setq mac (or last-kbd-macro ""))
(setq keys nil)
@@ -244,8 +244,9 @@ or nil, use a compact 80-column format."
(and (fboundp cmd) (not (arrayp (symbol-function cmd)))
(not (get cmd 'kmacro))
(not (y-or-n-p
- (format "Command %s is already defined; %s"
- cmd "proceed? ")))
+ (format
+ "Command %s is already defined; proceed?"
+ cmd)))
(keyboard-quit))))
t)
((looking-at "Key:\\(.*\\)$")
@@ -264,9 +265,9 @@ or nil, use a compact 80-column format."
(not (or (arrayp (symbol-function b))
(get b 'kmacro))))
(not (y-or-n-p
- (format "Key %s is already defined; %s"
- (edmacro-format-keys key 1)
- "proceed? ")))
+ (format
+ "Key %s is already defined; proceed?"
+ (edmacro-format-keys key 1))))
(keyboard-quit))))))
t)
((looking-at "Counter:[ \t]*\\([^ \t\n]*\\)[ \t]*$")