summaryrefslogtreecommitdiff
path: root/lisp/textmodes/ispell.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-07-30 21:11:00 +0000
committerRichard M. Stallman <rms@gnu.org>1994-07-30 21:11:00 +0000
commit3912ee5ea7525a28cc099ddeacab37dba9a419bb (patch)
treeb02ed4c2bc475612eb21cdecfac925fe2d2a39d2 /lisp/textmodes/ispell.el
parent0d9d14a5bec5a89cfa3fadcdbaec571de899c42a (diff)
downloademacs-3912ee5ea7525a28cc099ddeacab37dba9a419bb.tar.gz
(ispell-message-text-end): Improve context diff regexp.
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r--lisp/textmodes/ispell.el4
1 files changed, 2 insertions, 2 deletions
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")
"\\|")