aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2008-01-15 03:46:59 +0000
committerGlenn Morris2008-01-15 03:46:59 +0000
commit858fd4a4b4cbe0ff031621097c4500f4f977cba8 (patch)
tree1e5839ff2e5b3f9892f6e713374868f9cfdc211d /lisp
parent11a609d13fcbe36e89c8727be97654eb5dc0f86a (diff)
downloademacs-858fd4a4b4cbe0ff031621097c4500f4f977cba8.tar.gz
emacs-858fd4a4b4cbe0ff031621097c4500f4f977cba8.zip
(diff-end-of-hunk): Revert 2008-01-08 change.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/diff-mode.el6
2 files changed, 6 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cca899e3354..91d3a778f24 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-01-15 Glenn Morris <rgm@gnu.org>
2
3 * diff-mode.el (diff-end-of-hunk): Revert 2008-01-08 change.
4
12008-01-14 Alan Mackenzie <acm@muc.de> 52008-01-14 Alan Mackenzie <acm@muc.de>
2 6
3 * progmodes/cc-vars.el (c-constant-symbol): New function which 7 * progmodes/cc-vars.el (c-constant-symbol): New function which
@@ -8,7 +12,7 @@
8 12
9 * progmodes/cc-vars.el (c-hanging-braces-alist): Remove the 13 * progmodes/cc-vars.el (c-hanging-braces-alist): Remove the
10 obscure non-working fragment ":value c-". 14 obscure non-working fragment ":value c-".
11 15
122008-01-14 Alan Mackenzie <acm@muc.de> 162008-01-14 Alan Mackenzie <acm@muc.de>
13 17
14 * progmodes/cc-engine.el (c-guess-basic-syntax): prevent a macro 18 * progmodes/cc-engine.el (c-guess-basic-syntax): prevent a macro
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index a088cd6ccba..4c566b344a9 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -391,13 +391,9 @@ when editing big diffs)."
391 ;; Especially important for unified (because headers are ambiguous). 391 ;; Especially important for unified (because headers are ambiguous).
392 (setq style (cdr (assq (char-after) '((?@ . unified) (?* . context)))))) 392 (setq style (cdr (assq (char-after) '((?@ . unified) (?* . context))))))
393 (goto-char (match-end 0))) 393 (goto-char (match-end 0)))
394 ;; Some versions of diff replace all-blank context lines in unified
395 ;; format with empty lines. The use of \n below avoids matching such
396 ;; lines as headers.
397 ;; http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01990.html
398 (let ((end (and (re-search-forward (case style 394 (let ((end (and (re-search-forward (case style
399 ;; A `unified' header is ambiguous. 395 ;; A `unified' header is ambiguous.
400 (unified (concat "^[^-+# \\\n]\\|" 396 (unified (concat "^[^-+# \\]\\|"
401 diff-file-header-re)) 397 diff-file-header-re))
402 (context "^[^-+#! \\]") 398 (context "^[^-+#! \\]")
403 (normal "^[^<>#\\]") 399 (normal "^[^<>#\\]")