Browse Source

Remove duplicate &optional keyword to avoid "invalid function" error

pull/13/head
Lei Wang 7 years ago
parent
commit
a78a2cae11
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      jsfmt.el

+ 1
- 1
jsfmt.el View File

@ -88,7 +88,7 @@ buffer."
(t
(error "invalid rcs patch or internal error in jsfmt--apply-rcs-patch")))))))))
(defun run-jsfmt (&optional save &optional ast)
(defun run-jsfmt (&optional save ast)
"Formats the current buffer according to the jsfmt tool."
(interactive)
(let ((tmpfile (make-temp-file "jsfmt" nil (if ast


Loading…
Cancel
Save