]> code.delx.au - gnu-emacs/commitdiff
Don't spell-check argument of 'cref' TeX macro
authorMatthew Leach <matthew@mattleach.net>
Sat, 16 Apr 2016 09:22:03 +0000 (12:22 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Apr 2016 09:22:03 +0000 (12:22 +0300)
* lisp/textmodes/ispell.el (ispell-tex-skip-alists): Add the cref
macro to skip spell-checking the cref macro argument.

lisp/textmodes/ispell.el

index db03a3244a40208c963f4b0d395a253606d829b2..5a1f4736affd09c619f3c4b7731288754990bede 100644 (file)
@@ -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)