Function: llama--maybe-face

llama--maybe-face is a byte-compiled function defined in llama.el.

Signature

(llama--maybe-face FACE)

Source Code

;; Defined in ~/.emacs.d/elpa/llama-20260301.1253/llama.el
(defun llama--maybe-face (face)
  (and (not (and (member (match-string 0) '("%" "&"))
                 (and-let* ((beg (ignore-errors
                                   (scan-lists (match-beginning 0) -1 1))))
                   (string-match-p "\\`\\(##\\|llama\\_>\\)?[\s\t\n\r]*\\'"
                                   (buffer-substring-no-properties
                                    (1+ beg) (match-beginning 0))))))
       face))