cjohansson / emacs-ssh-deploy

A deployment plugin via Tramp for Emacs.
GNU General Public License v3.0
152 stars 6 forks source link

revert-buffer after asynchronous process should only affect associated buffer #41

Closed cjohansson closed 6 years ago

cjohansson commented 6 years ago

The (revert-buffer) command is now executed when a remote file has been download, in the case were this happens asynchronously a user might have switched buffer and the current selected different buffer will try to revert. (If changes are made then the user is still presented with a choice).

When a (revert-buffer) command is executed after a asynchronous process, the correct buffer should only be affected

cjohansson commented 6 years ago

Added in 42d4d7a384c2c566aff3675d4a1ac5c86fcb2304