From: Richard M. Stallman Date: Sat, 30 Jul 1994 21:11:00 +0000 (+0000) Subject: (ispell-message-text-end): Improve context diff regexp. X-Git-Tag: emacs-19.34~7466 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8581f180f14078c912bf5d8cb69394e79a838582;p=emacs.git (ispell-message-text-end): Improve context diff regexp. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index ca965d3d51e..57e572956f3 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -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") "\\|")