summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordpsutton <dpsutton@users.noreply.github.com>2017-07-29 03:33:04 -0500
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-07-29 11:33:04 +0300
commit2f2819610a03578fd48f79f9dac8f0d8fa39fe04 (patch)
treef6b33605d9ff598d0c63b37112b07327863445a7
parentaad32a7d7e146c832034b4fe06adb1334284ac5e (diff)
Hide all others stack frames when viewing project only (#2064)
-rw-r--r--CHANGELOG.md1
-rw-r--r--cider-stacktrace.el2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5423ed2d..d68f7204 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@
### Bugs Fixed
+* Project-Only stacktrace filter: hide all other tags when viewing project-only stacktrace.
* Fix interactive evaluation in cljc buffers with only one connection.
* [#2058](https://github.com/clojure-emacs/cider/pull/2058) Don't cache ns-forms in buffers with no such forms.
* [#2057](https://github.com/clojure-emacs/cider/pull/2057) Use `cider--font-lock-ensure` for compatibility with Emacs 24.5.
diff --git a/cider-stacktrace.el b/cider-stacktrace.el
index e1c45b2c..b62a53d5 100644
--- a/cider-stacktrace.el
+++ b/cider-stacktrace.el
@@ -500,7 +500,7 @@ with the button."
(if (null cider-stacktrace-positive-filters)
(progn
(setq-local cider-stacktrace-prior-filters cider-stacktrace-filters)
- (setq-local cider-stacktrace-filters cider-stacktrace-filters)
+ (setq-local cider-stacktrace-filters cider-stacktrace--all-negative-filters)
(setq-local cider-stacktrace-positive-filters '(project)))
(progn
(setq-local cider-stacktrace-filters cider-stacktrace-prior-filters)