editor/format: fix wrong-number-of-args error
+format|buffer takes no arguments
This commit is contained in:
parent
e38e79e6d7
commit
e0f8325f45
|
@ -172,7 +172,7 @@ See `+format/buffer' for the interactive version of this function, and
|
|||
"Format the source code in the current buffer."
|
||||
(interactive "P")
|
||||
(let ((+format-with (if arg (+format-completing-read))))
|
||||
(+format|buffer arg)))
|
||||
(+format|buffer)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +format/region (beg end &optional arg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user