aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Leach2016-04-16 12:22:03 +0300
committerEli Zaretskii2016-04-16 12:22:03 +0300
commitbb8c8fdfbb226ea760e8e5761ecda98c8cd9564f (patch)
tree6b6898bf6ec5b7224ad4fcf32aa562ef7fbf553f /lisp
parentc2ce5476dcde1ab9a7651a4c8a7b29a398b435ce (diff)
downloademacs-bb8c8fdfbb226ea760e8e5761ecda98c8cd9564f.tar.gz
emacs-bb8c8fdfbb226ea760e8e5761ecda98c8cd9564f.zip
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/ispell.el1
1 files changed, 1 insertions, 0 deletions
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:
1875 ("\\\\add\\(tocontents\\|vspace\\)" ispell-tex-arg-end) 1875 ("\\\\add\\(tocontents\\|vspace\\)" ispell-tex-arg-end)
1876 ("\\\\\\([aA]lph\\|arabic\\)" ispell-tex-arg-end) 1876 ("\\\\\\([aA]lph\\|arabic\\)" ispell-tex-arg-end)
1877 ;;("\\\\author" ispell-tex-arg-end) 1877 ;;("\\\\author" ispell-tex-arg-end)
1878 ("\\\\cref" ispell-tex-arg-end)
1878 ("\\\\bibliographystyle" ispell-tex-arg-end) 1879 ("\\\\bibliographystyle" ispell-tex-arg-end)
1879 ("\\\\makebox" ispell-tex-arg-end 0) 1880 ("\\\\makebox" ispell-tex-arg-end 0)
1880 ("\\\\e?psfig" ispell-tex-arg-end) 1881 ("\\\\e?psfig" ispell-tex-arg-end)