[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Make ispell skip checking arguments to TeX's \cref macro
From: |
Matthew Leach |
Subject: |
[PATCH] Make ispell skip checking arguments to TeX's \cref macro |
Date: |
Fri, 15 Apr 2016 19:27:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Hi all,
Please see the attached patch which makes ispell skip checking on cref's
macro arguments.
Thanks,
--
Matt
>From 61f70d6450aa6658ce27d2cc6d012ddad8875ba2 Mon Sep 17 00:00:00 2001
From: Matthew Leach <address@hidden>
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
- [PATCH] Make ispell skip checking arguments to TeX's \cref macro,
Matthew Leach <=