Skip to content

Commit 052290d

Browse files
Roman Rudakovbbatsov
authored andcommitted
Add extend to stacktrace and test results faces
It will fix broken rendering for emacs-27
1 parent bd55ba2 commit 052290d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cider-stacktrace.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ the NAME. The whole group is prefixed by string INDENT."
822822
(cider-propertize-region '(detail 2)
823823
(insert "\n")
824824
(let ((beg (point))
825-
(bg `(:background ,cider-stacktrace-frames-background-color)))
825+
(bg `(:background ,cider-stacktrace-frames-background-color :extend t)))
826826
(dolist (frame stacktrace)
827827
(cider-stacktrace-render-frame buffer frame))
828828
(overlay-put (make-overlay beg (point)) 'font-lock-face bg)))

cider-test.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ With the actual value, the outermost '(not ...)' s-expression is removed."
412412
(cider-propertize-region (cider-intern-keys (cdr test))
413413
(let ((beg (point))
414414
(type-face (cider-test-type-simple-face type))
415-
(bg `(:background ,cider-test-items-background-color)))
415+
(bg `(:background ,cider-test-items-background-color :extend t)))
416416
(cider-insert (capitalize type) type-face nil " in ")
417417
(cider-insert var 'font-lock-function-name-face t)
418418
(when context (cider-insert context 'font-lock-doc-face t))

0 commit comments

Comments
 (0)