summaryrefslogtreecommitdiff
path: root/cider-doc.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2016-01-25 15:38:34 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2016-01-25 15:41:07 +0000
commit5ba82364f8e36844ebd189f071120156da1c95ff (patch)
tree1ec95a40292ca8fe671e31ac91c909565e483ac8 /cider-doc.el
parent5e644c0f649972d690c162b618ed6841f9134c07 (diff)
Use keyword-face for the "Deprecated" line in *cider-doc*
The comment face is fine for notices that shouldn't call attention, but it's too easy to miss for something that's basically a warning. (OTOH, I didn't use `font-lock-warning-face` because it was too much, and hijacked the buffer.)
Diffstat (limited to 'cider-doc.el')
-rw-r--r--cider-doc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-doc.el b/cider-doc.el
index 5a9375be..208db367 100644
--- a/cider-doc.el
+++ b/cider-doc.el
@@ -394,7 +394,7 @@ Tables are marked to be ignored by line wrap."
(when added
(emit (concat "Added in " added) 'font-lock-comment-face))
(when depr
- (emit (concat "Deprecated in " depr) 'font-lock-comment-face))
+ (emit (concat "Deprecated in " depr) 'font-lock-keyword-face))
(if class
(cider-docview-render-java-doc (current-buffer) doc)
(emit (concat " " doc)))