Remove 'append' entry in doom-escape-hook

This commit is contained in:
Henrik Lissner 2019-08-19 12:29:11 -04:00
parent a365b1cf9d
commit 8b94f325b2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -15,13 +15,12 @@ errors.")
;; new-line checks are a mote excessive; idle checks are more than enough ;; new-line checks are a mote excessive; idle checks are more than enough
(delq! 'new-line flycheck-check-syntax-automatically) (delq! 'new-line flycheck-check-syntax-automatically)
(add-hook! 'doom-escape-hook (add-hook! 'doom-escape-hook :append
(defun +flycheck-buffer-h () (defun +flycheck-buffer-h ()
"Flycheck buffer on ESC in normal mode." "Flycheck buffer on ESC in normal mode."
(when flycheck-mode (when flycheck-mode
(ignore-errors (flycheck-buffer)) (ignore-errors (flycheck-buffer))
nil)) nil)))
'append)
(add-hook! 'flycheck-after-syntax-check-hook (add-hook! 'flycheck-after-syntax-check-hook
(defun +flycheck-adjust-syntax-check-eagerness-h () (defun +flycheck-adjust-syntax-check-eagerness-h ()