emacs-import-js icon indicating copy to clipboard operation
emacs-import-js copied to clipboard

Save the buffer associated with the `importjs` command

Open leoc opened this issue 6 years ago • 0 comments

When having a hook on window switch to save a file and having a file to fix imports after save, the new file content was written to the window I switched to due to the asynchronous call to importjs.

Now we save the buffer for which the command was invoked and write to that buffer explicitly.

See #24

leoc avatar Jul 10 '18 09:07 leoc