refactor(format): +format/org-block: make arg optional
This commit is contained in:
parent
f104f10c5b
commit
6b526b1b47
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ may not always work. Keep your undo keybind handy!"
|
|||
#'+format/buffer)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +format/org-block (point)
|
||||
(defun +format/org-block (&optional point)
|
||||
"Reformat the org src block at POINT with a mode approriate formatter."
|
||||
(interactive (list (point)))
|
||||
(unless (derived-mode-p 'org-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue