From 480e55c61fa39f6e406ff38b83179d0fe1852673 Mon Sep 17 00:00:00 2001 From: Huy Duong Date: Tue, 12 Feb 2019 17:14:31 +0700 Subject: [PATCH] Remove save-some-buffers Users might want to hook import-js-fix using either `after-save-hook` or `before-save-hook`. Signed-off-by: Huy Duong --- plugin/import-js.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugin/import-js.el b/plugin/import-js.el index b1ebc2c..0cb2f4c 100644 --- a/plugin/import-js.el +++ b/plugin/import-js.el @@ -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) @@ -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)