diff options
author | sanjayl <sanjay.linganna@gmail.com> | 2016-08-30 03:23:31 -0400 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2016-08-30 10:23:31 +0300 |
commit | bdbb2d25b9f3fccf2c586414c5dfce104c811713 (patch) | |
tree | 7e690fd3312a72166dc15a66614082b6963b5883 /cider-stacktrace.el | |
parent | 0dd47712588eae6cd057c1c5ad46658d7dec71e0 (diff) |
Relabel stacktrace suppression button (#1836)
More explicitly state the intent of the stacktrace suppression
button(s), in response to https://github.com/clojure-emacs/cider/issues/1829
Diffstat (limited to 'cider-stacktrace.el')
-rw-r--r-- | cider-stacktrace.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-stacktrace.el b/cider-stacktrace.el index 30f52739..3d31243f 100644 --- a/cider-stacktrace.el +++ b/cider-stacktrace.el @@ -565,7 +565,7 @@ prompt and whether to use a new window. Similar to `cider-find-var'." \"popping over\". The button toggles this behavior.\n\n ") (dolist (error-type error-types) (let ((suppressed (cider-stacktrace-suppressed-error-p error-type))) - (insert-text-button error-type + (insert-text-button (format "%s %s" (if suppressed "Promote" "Suppress") error-type) 'follow-link t 'error-type error-type 'action 'cider-stacktrace-toggle-suppression |