Function: hl-todo--get-face
hl-todo--get-face is a natively compiled function defined in
hl-todo.el.
Signature
(hl-todo--get-face)
Documentation
Return face for current keyword during font locking.
Source Code
;; Defined in /nix/store/b97f5zr6snxdbh1bgqmj50mq949vd13i-emacs-packages-deps/share/emacs/site-lisp/elpa/hl-todo-20261001.1547/hl-todo.el
(defun hl-todo--get-face ()
"Return face for current keyword during font locking."
(let ((keyword (match-string 2)))
(hl-todo--combine-face
(cdr (or
;; Fast allocation free lookup for literal keywords.
(assoc keyword hl-todo-keyword-faces)
;; Slower regexp lookup.
(compat-call assoc keyword hl-todo-keyword-faces
(lambda (a b)
(string-match-p (format "\\`%s\\'" a) b))))))))