(diff-end-of-hunk): Revert 2008-01-08 change.
This commit is contained in:
parent
11a609d13f
commit
858fd4a4b4
2 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-01-15 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* diff-mode.el (diff-end-of-hunk): Revert 2008-01-08 change.
|
||||
|
||||
2008-01-14 Alan Mackenzie <acm@muc.de>
|
||||
|
||||
* progmodes/cc-vars.el (c-constant-symbol): New function which
|
||||
|
@ -8,7 +12,7 @@
|
|||
|
||||
* progmodes/cc-vars.el (c-hanging-braces-alist): Remove the
|
||||
obscure non-working fragment ":value c-".
|
||||
|
||||
|
||||
2008-01-14 Alan Mackenzie <acm@muc.de>
|
||||
|
||||
* progmodes/cc-engine.el (c-guess-basic-syntax): prevent a macro
|
||||
|
|
|
@ -391,13 +391,9 @@ when editing big diffs)."
|
|||
;; Especially important for unified (because headers are ambiguous).
|
||||
(setq style (cdr (assq (char-after) '((?@ . unified) (?* . context))))))
|
||||
(goto-char (match-end 0)))
|
||||
;; Some versions of diff replace all-blank context lines in unified
|
||||
;; format with empty lines. The use of \n below avoids matching such
|
||||
;; lines as headers.
|
||||
;; http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01990.html
|
||||
(let ((end (and (re-search-forward (case style
|
||||
;; A `unified' header is ambiguous.
|
||||
(unified (concat "^[^-+# \\\n]\\|"
|
||||
(unified (concat "^[^-+# \\]\\|"
|
||||
diff-file-header-re))
|
||||
(context "^[^-+#! \\]")
|
||||
(normal "^[^<>#\\]")
|
||||
|
|
Loading…
Add table
Reference in a new issue