Function: TeX-ispell-skip-setcdr
TeX-ispell-skip-setcdr is a byte-compiled function defined in tex.el.
Signature
(TeX-ispell-skip-setcdr SKIP)
Documentation
Add SKIP to cdr 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 cdr 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
(defun TeX-ispell-skip-setcdr (skip)
"Add SKIP to cdr 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 cdr 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 envs :test #'equal))
(setq ispell-tex-skip-alists (list raws envs)))))