From 3912ee5ea7525a28cc099ddeacab37dba9a419bb Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 30 Jul 1994 21:11:00 +0000 Subject: (ispell-message-text-end): Improve context diff regexp. --- lisp/textmodes/ispell.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/textmodes/ispell.el') 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") "\\|") -- cgit v1.2.1