mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
editor/format: fix wrong-number-of-args error
+format|buffer takes no arguments
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user