Function: majutsu-row-apply-face-policy

majutsu-row-apply-face-policy is a natively compiled function defined in majutsu-row.el.

Signature

(majutsu-row-apply-face-policy VALUE FACE)

Documentation

Apply FACE policy to VALUE and return display string.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-row.el
;;; Face helpers

(defun majutsu-row-apply-face-policy (value face)
  "Apply FACE policy to VALUE and return display string."
  (let ((text (or value "")))
    (cond
     ((eq face t) text)
     ((null face) (substring-no-properties text))
     (t (propertize (substring-no-properties text) 'font-lock-face face)))))