]> git.eshelyaron.com Git - emacs.git/commitdiff
(ispell-message-text-end): Improve context diff regexp.
authorRichard M. Stallman <rms@gnu.org>
Sat, 30 Jul 1994 21:11:00 +0000 (21:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 30 Jul 1994 21:11:00 +0000 (21:11 +0000)
lisp/textmodes/ispell.el

index ca965d3d51ef7af082a1a15b5e12fee849ae92b7..57e572956f31dec17cf03a37490b489243c15b7f 100644 (file)
@@ -1869,8 +1869,8 @@ Standard ispell choices are then available."
               "^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")
             "\\|")