Function: majutsu-diff--with-fallback-face

majutsu-diff--with-fallback-face is a natively compiled function defined in majutsu-diff.el.

Signature

(majutsu-diff--with-fallback-face VALUE FACE)

Documentation

Return VALUE with FACE unless it already has presentation properties.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-diff.el
(defun majutsu-diff--with-fallback-face (value face)
  "Return VALUE with FACE unless it already has presentation properties."
  (if (or (not (stringp value))
          (string-empty-p value)
          (majutsu-diff--presentation-properties value))
      value
    (propertize value 'font-lock-face face)))