Function: org-entities--user-safe-p

org-entities--user-safe-p is a byte-compiled function defined in org-entities.el.gz.

Signature

(org-entities--user-safe-p V)

Documentation

Non-nil if V is a safe value for org-entities-user.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-entities.el.gz
(defun org-entities--user-safe-p (v)
  "Non-nil if V is a safe value for `org-entities-user'."
  (cond
   ((not v) t)
   ((listp v)
    (seq-every-p
     (lambda (e)
       (pcase e
         (`(,(and (pred stringp)
                      (pred (string-match-p "\\`[a-zA-Z][a-zA-Z0-9]*\\'")))
            ,(pred stringp) ,(pred booleanp) ,(pred stringp)
            ,(pred stringp) ,(pred stringp) ,(pred stringp))
          t)
         (_ nil)))
     v))))