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