Generalize +evil-esc-hook into doom-escape-hook
This lets vanilla Emacs users in on having a universal "escape" key.
This commit is contained in:
parent
c8768f512d
commit
3cbddbfd88
8 changed files with 34 additions and 28 deletions
|
@ -12,7 +12,7 @@
|
|||
(when flycheck-mode
|
||||
(ignore-errors (flycheck-buffer))
|
||||
nil))
|
||||
(add-hook '+evil-esc-hook #'+syntax-checkers|flycheck-buffer t)
|
||||
(add-hook 'doom-escape-hook #'+syntax-checkers|flycheck-buffer t)
|
||||
|
||||
;; With the option of flychecking the buffer on escape, so we don't need
|
||||
;; auto-flychecking on idle-change:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue