Function: TeX-ispell-skip-setcar
TeX-ispell-skip-setcar is a byte-compiled function defined in tex.el.
Signature
(TeX-ispell-skip-setcar SKIP)
Documentation
Add SKIP to car of ispell-tex-skip-alists.
SKIP is an alist with the format described in
ispell-tex-skip-alists. Each element in SKIP is added on top
of the car of ispell-tex-skip-alists. This only happens if
TeX-ispell-extend-skip-list is non-nil.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
;; These functions are used to add new items to
;; `ispell-tex-skip-alists' -- see tex-ispell.el:
(defun TeX-ispell-skip-setcar (skip)
"Add SKIP to car of `ispell-tex-skip-alists'.
SKIP is an alist with the format described in
`ispell-tex-skip-alists'. Each element in SKIP is added on top
of the car of `ispell-tex-skip-alists'. This only happens if
`TeX-ispell-extend-skip-list' is non-nil."
(when TeX-ispell-extend-skip-list
(let ((raws (car ispell-tex-skip-alists))
(envs (cadr ispell-tex-skip-alists)))
(dolist (x skip)
(cl-pushnew x raws :test #'equal))
(setq ispell-tex-skip-alists (list raws envs)))))