all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Make ispell skip checking arguments to TeX's \cref macro
@ 2016-04-15 18:27 Matthew Leach
  2016-04-16  9:23 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Leach @ 2016-04-15 18:27 UTC (permalink / raw
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 117 bytes --]

Hi all,

Please see the attached patch which makes ispell skip checking on cref's
macro arguments.

Thanks,
-- 
Matt

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Skip-TeX-cref-macro-with-ispell.patch --]
[-- Type: text/x-diff, Size: 941 bytes --]

From 61f70d6450aa6658ce27d2cc6d012ddad8875ba2 Mon Sep 17 00:00:00 2001
From: Matthew Leach <matthew@mattleach.net>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Make ispell skip checking arguments to TeX's \cref macro
  2016-04-15 18:27 [PATCH] Make ispell skip checking arguments to TeX's \cref macro Matthew Leach
@ 2016-04-16  9:23 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2016-04-16  9:23 UTC (permalink / raw
  To: Matthew Leach; +Cc: emacs-devel

> From: Matthew Leach <matthew@mattleach.net>
> Date: Fri, 15 Apr 2016 19:27:00 +0100
> 
> Please see the attached patch which makes ispell skip checking on cref's
> macro arguments.

Thanks, pushed to the master branch.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-16  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 18:27 [PATCH] Make ispell skip checking arguments to TeX's \cref macro Matthew Leach
2016-04-16  9:23 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.