mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-06 01:02:04 -08:00
doom|hack-local-variables => MODE-local-vars-hook
Uses a less destructive method (the same that Spacemacs uses) than the
one introduced in 13cee68, by introducing MODE-local-vars-hook hooks,
which run after local vars have been initialized.
The old method was to call `hack-local-variables` *before* mode hooks
run, however, this causes variables set by modes to have higher
precedence than local vars, which is unacceptable.
Also moved intero-mode & dante-mode to haskell-mode-local-vars-hook
This commit is contained in:
parent
b674aef31b
commit
fd19698927
3 changed files with 10 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue