Correct last inline hook defuns

See a3e262c7 for rationale
This commit is contained in:
Henrik Lissner 2019-07-28 14:52:59 +02:00
parent a354bba261
commit 19ecf8e46a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
25 changed files with 39 additions and 39 deletions

View file

@ -15,7 +15,7 @@ errors.")
;; new-line checks are a mote excessive; idle checks are more than enough
(delq! 'new-line flycheck-check-syntax-automatically)
(add-hook 'doom-escape-hook
(add-hook! 'doom-escape-hook
(defun +flycheck-buffer-h ()
"Flycheck buffer on ESC in normal mode."
(when flycheck-mode
@ -23,7 +23,7 @@ errors.")
nil))
'append)
(add-hook 'flycheck-after-syntax-check-hook
(add-hook! 'flycheck-after-syntax-check-hook
(defun +flycheck-adjust-syntax-check-eagerness-h ()
"Check for errors less often when there aren't any.
Done to reduce the load flycheck imposes on the current buffer."