Refresh buffers local variables function
cjohansson opened this issue · 1 comments
cjohansson commented
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
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