Skip to content

Commit 7a292e4

Browse files
committed
compat: use font-lock-face instead of face
1 parent 469e2e1 commit 7a292e4

File tree

3 files changed

+83
-83
lines changed

3 files changed

+83
-83
lines changed

pr-review-notification.el

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -196,16 +196,16 @@ Confirm if there's mark entries."
196196
(reverse all-participants))))
197197
(concat (let-alist entry
198198
(when (and .pr-info.state (not (equal .pr-info.state "OPEN")))
199-
(concat (propertize (downcase .pr-info.state) 'face 'pr-review-listview-status-face) " ")))
200-
(when me-mentioned (propertize "+mentioned " 'face 'pr-review-listview-important-activity-face))
199+
(concat (propertize (downcase .pr-info.state) 'font-lock-face 'pr-review-listview-status-face) " ")))
200+
(when me-mentioned (propertize "+mentioned " 'font-lock-face 'pr-review-listview-important-activity-face))
201201
(pcase me-assigned
202-
('new (propertize "+assigned " 'face 'pr-review-listview-important-activity-face))
203-
('t (propertize "assigned " 'face 'pr-review-listview-status-face)))
202+
('new (propertize "+assigned " 'font-lock-face 'pr-review-listview-important-activity-face))
203+
('t (propertize "assigned " 'font-lock-face 'pr-review-listview-status-face)))
204204
(pcase me-review-requested
205-
('new (propertize "+review_requested " 'face 'pr-review-listview-important-activity-face))
206-
('t (propertize "review_requested " 'face 'pr-review-listview-status-face)))
205+
('new (propertize "+review_requested " 'font-lock-face 'pr-review-listview-important-activity-face))
206+
('t (propertize "review_requested " 'font-lock-face 'pr-review-listview-status-face)))
207207
(when me-approved
208-
(propertize "approved " 'face 'pr-review-listview-status-face))
208+
(propertize "approved " 'font-lock-face 'pr-review-listview-status-face))
209209
(when all-participants
210210
(mapconcat
211211
(lambda (x)

0 commit comments

Comments
 (0)