Conform advice to naming conventions

This commit is contained in:
Henrik Lissner 2020-02-11 03:40:16 -05:00
parent cc260b2e97
commit b1c02e64f5
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -159,7 +159,7 @@ directives. By default, this only recognizes C directives.")
;; REVIEW Fix #2493: dir-locals cannot target fundamental-mode when evil-mode
;; is active. See https://github.com/hlissner/doom-emacs/issues/2493.
;; Revert this if this is ever fixed upstream.
(defadvice! fix-local-vars (&rest _)
(defadvice! +evil--fix-local-vars-a (&rest _)
:before #'turn-on-evil-mode
(when (eq major-mode 'fundamental-mode)
(hack-local-variables)))