From 02ba126764ce7c23e8c325f55037eb7e7b908261 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Wed, 3 Feb 2010 00:33:52 +0200 Subject: [PATCH] * textmodes/ispell.el (ispell-message-text-end): Remove final newline from unidiff to allow function-line after @@. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/ispell.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a8f031f3f56..7a18954f59d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-02-02 Juri Linkov + + * textmodes/ispell.el (ispell-message-text-end): Remove final newline + from unidiff to allow function-line after @@. + 2010-02-02 Juri Linkov * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index e35148ac038..81b87cd5641 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -3459,7 +3459,7 @@ Don't read buffer-local settings or word lists." ;; Matches context difference listing "\\(\\(^cd .*\n\\)?diff -c .*\\)?\n\\*\\*\\* .*\n--- .*\n\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*" ;; Matches unidiff difference listing - "\\(diff -u .*\\)?\n--- .*\n\\+\\+\\+ .*\n@@ [-+][0-9]+,[0-9]+ [-+][0-9]+,[0-9]+ @@\n" + "\\(diff -u .*\\)?\n--- .*\n\\+\\+\\+ .*\n@@ [-+][0-9]+,[0-9]+ [-+][0-9]+,[0-9]+ @@" ;; Matches reporter.el bug report "^current state:\n==============\n" ;; Matches commonly used "cut" boundaries -- 2.39.2