File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -925,8 +925,11 @@ depending on the PHASE."
925925 (and cider-show-error-buffer
926926 (member phase (cider-clojure-compilation-error-phases))))
927927 ; ; Only show overlays for things that do look like an exception (#3587):
928- (or (string-match-p cider-clojure-runtime-error-regexp err)
929- (string-match-p cider-clojure-compilation-error-regexp err)))
928+ ; ; Note: only applicable to JVM Clojure error messages (#3687)
929+ (if (cider-runtime-clojure-p)
930+ (or (string-match-p cider-clojure-runtime-error-regexp err)
931+ (string-match-p cider-clojure-compilation-error-regexp err))
932+ t ))
930933 ; ; Display errors as temporary overlays
931934 (let ((cider-result-use-clojure-font-lock nil )
932935 (trimmed-err (funcall cider-inline-error-message-function err)))
You can’t perform that action at this time.
0 commit comments