mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-12 15:36:53 -05:00
refactor(evil): remove unneeded advice
This was resolved upstream. Fix: #2493 Ref: emacs-evil/evil#1268
This commit is contained in:
@@ -155,14 +155,6 @@ directives. By default, this only recognizes C directives.")
|
|||||||
:after-until #'evil-global-marker-p
|
:after-until #'evil-global-marker-p
|
||||||
(and (>= char ?2) (<= char ?9)))
|
(and (>= char ?2) (<= char ?9)))
|
||||||
|
|
||||||
;; REVIEW Fix #2493: dir-locals cannot target fundamental-mode when evil-mode
|
|
||||||
;; is active. See hlissner/doom-emacs#2493. Revert this if
|
|
||||||
;; emacs-evil/evil#1268 is resolved upstream.
|
|
||||||
(defadvice! +evil--fix-local-vars-a (&rest _)
|
|
||||||
:before #'turn-on-evil-mode
|
|
||||||
(when (eq major-mode 'fundamental-mode)
|
|
||||||
(hack-local-variables)))
|
|
||||||
|
|
||||||
;; HACK Invoking helpful from evil-ex throws a "No recursive edit is in
|
;; HACK Invoking helpful from evil-ex throws a "No recursive edit is in
|
||||||
;; progress" error because, between evil-ex and helpful,
|
;; progress" error because, between evil-ex and helpful,
|
||||||
;; `abort-recursive-edit' gets called one time too many.
|
;; `abort-recursive-edit' gets called one time too many.
|
||||||
|
Reference in New Issue
Block a user