Skip to content

Commit

Permalink
Remove save-some-buffers
Browse files Browse the repository at this point in the history
Users might want to hook import-js-fix using either `after-save-hook` or `before-save-hook`.

Signed-off-by: Huy Duong <[email protected]>
  • Loading branch information
Huy Duong authored and kevinkehl committed Feb 15, 2022
1 parent 0501a8f commit 480e55c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugin/import-js.el
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
(defun import-js-import ()
"Run import-js on a particular module"
(interactive)
(save-some-buffers)
(import-js-check-daemon)
(setq import-js-output "")
(setq import-js-handler 'import-js-handle-imports)
Expand All @@ -147,7 +146,6 @@
(defun import-js-fix ()
"Run import-js on an entire file, importing or fixing as necessary"
(interactive)
(save-some-buffers)
(import-js-check-daemon)
(setq import-js-output "")
(setq import-js-handler 'import-js-handle-imports)
Expand Down

0 comments on commit 480e55c

Please sign in to comment.