From bb8c8fdfbb226ea760e8e5761ecda98c8cd9564f Mon Sep 17 00:00:00 2001 From: Matthew Leach Date: Sat, 16 Apr 2016 12:22:03 +0300 Subject: [PATCH] Don't spell-check argument of 'cref' TeX macro * lisp/textmodes/ispell.el (ispell-tex-skip-alists): Add the cref macro to skip spell-checking 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 db03a3244a4..5a1f4736aff 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1875,6 +1875,7 @@ Valid forms include: ("\\\\add\\(tocontents\\|vspace\\)" ispell-tex-arg-end) ("\\\\\\([aA]lph\\|arabic\\)" ispell-tex-arg-end) ;;("\\\\author" ispell-tex-arg-end) + ("\\\\cref" ispell-tex-arg-end) ("\\\\bibliographystyle" ispell-tex-arg-end) ("\\\\makebox" ispell-tex-arg-end 0) ("\\\\e?psfig" ispell-tex-arg-end) -- 2.39.2