summaryrefslogtreecommitdiff
path: root/cider-mode.el
diff options
context:
space:
mode:
authorChris Perkins <chrisperkins99@gmail.com>2016-03-06 12:12:19 -0700
committerChris Perkins <chrisperkins99@gmail.com>2016-03-06 13:43:46 -0700
commit2ae2a78d2f5639df5f9a54a58ed6a4cf83ba7680 (patch)
tree30dc5f8267a9afbc82af18be11b2d965e56bf352 /cider-mode.el
parent5879d1608347974b1712e265749b5e8ad3af46e4 (diff)
Set instrumented and traced faces for terminal
cider-instrumented-face and cider-traced-face used a :box attribute, which does not display in terminal-mode emacs. Use an underline and a background color instead.
Diffstat (limited to 'cider-mode.el')
-rw-r--r--cider-mode.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/cider-mode.el b/cider-mode.el
index efd1ef54..5662be9f 100644
--- a/cider-mode.el
+++ b/cider-mode.el
@@ -347,14 +347,16 @@ The value can also be t, which means to font-lock as much as possible."
:group 'cider)
(defface cider-instrumented-face
- '((t :box (:color "#c00" :line-width -1)))
+ '((((type graphic)) :box (:color "#c00" :line-width -1))
+ (t :underline t :background "#800"))
"Face used to mark code being debugged."
:group 'cider-debug
:group 'cider
:package-version '(cider . "0.10.0"))
(defface cider-traced-face
- '((t :box (:color "cyan" :line-width -1)))
+ '((((type graphic)) :box (:color "cyan" :line-width -1))
+ (t :underline t :background "#066"))
"Face used to mark code being traced."
:group 'cider
:package-version '(cider . "0.11.0"))