From 0de0d8adbeda6ef5c4bc2bbced9e15bc8e9a5ec5 Mon Sep 17 00:00:00 2001 From: Vitalie Spinu Date: Fri, 9 Nov 2018 17:29:32 +0100 Subject: [PATCH] [Fix #2514] Don't auto-jump to warnings even when they are under stderr face --- cider-eval.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cider-eval.el b/cider-eval.el index 67f2706ba..643fc93a9 100644 --- a/cider-eval.el +++ b/cider-eval.el @@ -377,7 +377,8 @@ evaluation command. Honor `cider-auto-jump-to-error'." (let* ((face (nth 3 info)) (note (nth 4 info)) (auto-jump (if (eq cider-auto-jump-to-error 'errors-only) - (not (eq face 'cider-warning-highlight-face)) + (not (or (eq face 'cider-warning-highlight-face) + (string-match-p "warning" note))) cider-auto-jump-to-error))) (overlay-put overlay 'cider-note-p t) (overlay-put overlay 'font-lock-face face)