changeset 8387:7dca276b66d8

(ispell-message-text-end): Improve context diff regexp.
author Richard M. Stallman <rms@gnu.org>
date Sat, 30 Jul 1994 21:11:00 +0000
parents 1c42688133ee
children e0c0247dca19
files lisp/textmodes/ispell.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Sat Jul 30 20:36:56 1994 +0000
+++ b/lisp/textmodes/ispell.el	Sat Jul 30 21:11:00 1994 +0000
@@ -1869,8 +1869,8 @@
 	       "^begin [0-9][0-9][0-9] .*\nM.*\nM.*\nM"
 	       ;; Matches shell files (esp. auto-decoding)
 	       "^#! /bin/sh"
-	       ;; Matches difference listing
-	       "diff -c .*\n\\*\\*\\* .*\n--- "
+	       ;; Matches context difference listing
+	       "\\(diff -c .*\\)?\n\\*\\*\\* .*\n--- .*\n\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*"
 	       ;; Matches "----------------- cut here"
 	       "^[-=_]+\\s ?cut here")
 	     "\\|")