cjohansson / emacs-ssh-deploy

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

Refresh buffers local variables function #37

Open cjohansson opened 6 years ago

cjohansson commented 6 years ago

If you make a change to your .dir-locals.el file and have a lot of open buffers inside that path, you need to revert-buffer each buffer to get the new variable values. For some modes like dired-mode revert-buffer doesn't refresh variable values. It would be nice to have a function that goes through each open buffer inside path and sets the new values.

cjohansson commented 6 years ago

I filed a bug report for this issue with dired-mode and it's actually resolved today in GNU Emacs trunk 👍 http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d15fa1b7d36a32e1dd9807eb5f0d1d8cd4f2e78d