Fails when there is no window system
Closed this issue · 1 comments
duerrp commented
I really like the eye-candy your code provides!
Unfortunately, I often work in a terminal and in that case the function pos-tip-window-system
returns nil and flycheck-pos-tip-error-messages
fails. My workaround is
(with-eval-after-load 'flycheck
(defun peters-postip-error-messages (errors)
(if (pos-tip-window-system)
(flycheck-pos-tip-error-messages errors)
(flycheck-display-error-messages errors)))
(custom-set-variables
'(flycheck-display-errors-function #'peters-postip-error-messages)))
but you could fix this for all of us by putting the branch into flycheck-pos-tip-error-messages
.
Keep up the good work
Peter
Deleted user commented
Hi.
I tried to change the depend library, from pos-tip
to popup
.
Please try this.
If there is no problem, I will merge this.