From 5ad4a018b1dd42838d12e51745118224a68312a0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 1 Dec 2019 23:00:05 -0500 Subject: [PATCH] ui/hl-todo: map keywords to faces, not color strings Future proofs changes the loaded them. --- modules/ui/hl-todo/config.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/ui/hl-todo/config.el b/modules/ui/hl-todo/config.el index 547b54afe..09c793b74 100644 --- a/modules/ui/hl-todo/config.el +++ b/modules/ui/hl-todo/config.el @@ -5,12 +5,12 @@ :config (setq hl-todo-highlight-punctuation ":" hl-todo-keyword-faces - `(("TODO" . ,(face-foreground 'warning)) - ("FIXME" . ,(face-foreground 'error)) - ("HACK" . ,(face-foreground 'font-lock-constant-face)) - ("REVIEW" . ,(face-foreground 'font-lock-keyword-face)) - ("NOTE" . ,(face-foreground 'success)) - ("DEPRECATED" . ,(face-foreground 'font-lock-doc-face)))) + `(("TODO" warning bold) + ("FIXME" error bold) + ("HACK" font-lock-constant-face bold) + ("REVIEW" font-lock-keyword-face bold) + ("NOTE" success bold) + ("DEPRECATED" font-lock-doc-face bold))) ;; Use a more primitive todo-keyword detection method in major modes that ;; don't use/have a valid syntax table entry for comments.