Fix wrong-number-of-args error on +format/region-or-buffer
This commit is contained in:
parent
e7b7f670f0
commit
991a205ebd
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ Prompts for a formatter if universal arg is set."
|
||||||
(cond ((or (eq +format-with :none)
|
(cond ((or (eq +format-with :none)
|
||||||
(doom-temp-buffer-p (current-buffer))
|
(doom-temp-buffer-p (current-buffer))
|
||||||
(doom-special-buffer-p (current-buffer)))
|
(doom-special-buffer-p (current-buffer)))
|
||||||
nil)
|
(list nil nil))
|
||||||
(current-prefix-arg
|
(current-prefix-arg
|
||||||
(list (or (+format-completing-read)
|
(list (or (+format-completing-read)
|
||||||
(user-error "Aborted"))
|
(user-error "Aborted"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue