Fix wrong-number-of-args error on +format/region-or-buffer

This commit is contained in:
Henrik Lissner 2020-06-13 00:43:48 -04:00
parent e7b7f670f0
commit 991a205ebd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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"))