From 3a520ec76cdd5509bf231e49809715f20a87d74b Mon Sep 17 00:00:00 2001 From: Vitalie Spinu Date: Fri, 9 Nov 2018 17:29:32 +0100 Subject: [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(-) (limited to 'cider-eval.el') diff --git a/cider-eval.el b/cider-eval.el index 67f2706b..643fc93a 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) -- cgit v1.2.3 From 8c00ecaf6a5eba9867f7b30a8c2c8f2eff3e059a Mon Sep 17 00:00:00 2001 From: Tijs Mallaerts Date: Fri, 21 Dec 2018 21:54:24 +0100 Subject: [Fix #2105] Fix no comment syntax defined message when loading buffer after running failing test (#2542) --- cider-eval.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cider-eval.el') diff --git a/cider-eval.el b/cider-eval.el index 643fc93a..4f51c4ce 100644 --- a/cider-eval.el +++ b/cider-eval.el @@ -168,7 +168,8 @@ When invoked with a prefix ARG the command doesn't prompt for confirmation." (defun cider--quit-error-window () "Buries the `cider-error-buffer' and quits its containing window." (when-let* ((error-win (get-buffer-window cider-error-buffer))) - (quit-window nil error-win))) + (save-excursion + (quit-window nil error-win)))) ;;; Dealing with compilation (evaluation) errors and warnings -- cgit v1.2.3 From 73c85bec1cd675a1afacec42c1330174447fd9a1 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Tue, 1 Jan 2019 09:59:42 +0200 Subject: Bump the copyright years --- cider-eval.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cider-eval.el') diff --git a/cider-eval.el b/cider-eval.el index 4f51c4ce..946d55ee 100644 --- a/cider-eval.el +++ b/cider-eval.el @@ -1,7 +1,7 @@ ;;; cider-eval.el --- Interactive evaluation (compilation) functionality -*- lexical-binding: t -*- ;; Copyright © 2012-2013 Tim King, Phil Hagelberg, Bozhidar Batsov -;; Copyright © 2013-2018 Bozhidar Batsov, Artur Malabarba and CIDER contributors +;; Copyright © 2013-2019 Bozhidar Batsov, Artur Malabarba and CIDER contributors ;; ;; Author: Tim King ;; Phil Hagelberg -- cgit v1.2.3