[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: force reparse of file variables
From: |
Drew Adams |
Subject: |
RE: force reparse of file variables |
Date: |
Thu, 13 Aug 2015 11:23:07 -0700 (PDT) |
> > Is there a way to force (re)-load all the file variables in a buffer?
> >
> > I have a template (with yasnippet) that populates files of certain
> > types and derives some file variables (such as the 'compile-command),
> > but I need to save/open to load it.
>
> Do that lots of times. I save the file, then revert-buffer.
C-x C-v RET
IOW, `find-alternate-file' should do what you want, I think. It kills
the buffer and revisits the file.