Function: ispell-begin-tex-skip-regexp

ispell-begin-tex-skip-regexp is a byte-compiled function defined in ispell.el.gz.

Signature

(ispell-begin-tex-skip-regexp)

Documentation

Regular expression of tex commands to skip.

Generated from ispell-tex-skip-alists.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/ispell.el.gz
(defun ispell-begin-tex-skip-regexp ()
  "Regular expression of tex commands to skip.
Generated from `ispell-tex-skip-alists'."
  (concat
   ;; raw tex keys
   (mapconcat (lambda (lst) (car lst))
	      (car ispell-tex-skip-alists)
	      "\\|")
   "\\|"
   ;; keys wrapped in begin{}
   (mapconcat (lambda (lst)
                (concat "\\\\begin[ \t\n]*{[ \t\n]*"
                        (car lst)
                        "[ \t\n]*}"))
	      (car (cdr ispell-tex-skip-alists))
	      "\\|")))