Function: TeX-auto-add-information

TeX-auto-add-information is a byte-compiled function defined in tex.el.

Signature

(TeX-auto-add-information NAME ENTRIES)

Documentation

For NAME in TeX-auto-parser add ENTRIES.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
;; Internal temporal variable.  Don't refer to it in your program
;; unless you know what you are doing.  Use (TeX-style-list) instead.

(defun TeX-auto-add-information (name entries)
  "For NAME in `TeX-auto-parser' add ENTRIES."
  (let* ((entry (assoc name TeX-auto-parser))
         (change (nth TeX-auto-parser-change entry))
         (change-value (symbol-value change))
         (local (nth TeX-auto-parser-local entry))
         (local-value (symbol-value local)))
    (if change-value
        (set local (cons entries local-value))
      (set change t)
      (set local (list entries local-value)))))