From 61f70d6450aa6658ce27d2cc6d012ddad8875ba2 Mon Sep 17 00:00:00 2001 From: Matthew Leach Date: Fri, 15 Apr 2016 19:22:35 +0100 Subject: [PATCH] Skip TeX \cref macro with ispell. * lisp/textmodes/ispell.el (ispell-tex-skip-alists): Add the cref macro to skip spell checking on the cref macro argument. --- lisp/textmodes/ispell.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 97e64c9..c8c20d5 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1876,6 +1876,7 @@ ispell-tex-skip-alists ("\\\\\\([aA]lph\\|arabic\\)" ispell-tex-arg-end) ;;("\\\\author" ispell-tex-arg-end) ("\\\\bibliographystyle" ispell-tex-arg-end) + ("\\\\cref" ispell-tex-arg-end) ("\\\\makebox" ispell-tex-arg-end 0) ("\\\\e?psfig" ispell-tex-arg-end) ("\\\\document\\(class\\|style\\)" . -- 2.8.0