Function: TeX--list-of-string-p

TeX--list-of-string-p is a byte-compiled function defined in tex.el.

Signature

(TeX--list-of-string-p LST)

Documentation

Return non-nil if LST is a list of strings.

Used as function for validating a variable's safe-local-variable property.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX--list-of-string-p (lst)
  "Return non-nil if LST is a list of strings.
Used as function for validating a variable's `safe-local-variable' property."
  (and (listp lst)
       (let ((all-strings t))
         (while (and all-strings lst)
           (setq all-strings (stringp (car lst)))
           (setq lst (cdr lst)))
         all-strings)))