Fix flycheck-pos-tip-mode setup

Enable Flycheck Pos Tip Mode in :init, and remove explicit assignment to
flycheck-display-errors-function.  I’m not sure whether that was
somehow intended, but it looks like it’s been working by accident only.
This commit is contained in:
Sebastian Wiesner 2015-11-13 11:21:31 +01:00 committed by Eivind Fonn
parent 57fd074d6b
commit 2c97605833
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,8 @@ If the error list is visible, hide it. Otherwise, show it."
:if syntax-checking-enable-tooltips
:defer t
:init
(flycheck-pos-tip-mode)))
(with-eval-after-load 'flycheck
(flycheck-pos-tip-mode))))
(defun syntax-checking/post-init-popwin ()
(push '("^\\*Flycheck.+\\*$"