diff options
| author | Stefan Monnier | 2008-02-19 19:44:48 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-02-19 19:44:48 +0000 |
| commit | 95dfb89d87037faadbe95226472d06af56432a2c (patch) | |
| tree | 97bc723857223cfd7ec169618c20e85f40d0a890 /lisp/ChangeLog | |
| parent | ece58427be11f0f96b3f43f6452598fd354f2cb9 (diff) | |
| download | emacs-95dfb89d87037faadbe95226472d06af56432a2c.tar.gz emacs-95dfb89d87037faadbe95226472d06af56432a2c.zip | |
Make it more robust in the presence of empty context lines in unified hunks.
(diff-valid-unified-empty-line): New var.
(diff-unified->context, diff-sanity-check-hunk): Obey it.
(diff-end-of-hunk): Obey it. New arg `donttrustheader'.
(diff-fixup-modifs, diff-post-command-hook): Use this new arg.
(diff-hunk-header-re-unified): New const.
(diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk)
(diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk)
(diff-sanity-check-hunk): Use it.
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 25a085c5496..5ea2b6be5d6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * diff-mode.el: Make it more robust in the presence of empty context | ||
| 4 | lines in unified hunks. | ||
| 5 | (diff-valid-unified-empty-line): New var. | ||
| 6 | (diff-unified->context, diff-sanity-check-hunk): Obey it. | ||
| 7 | (diff-end-of-hunk): Obey it. New arg `donttrustheader'. | ||
| 8 | (diff-fixup-modifs, diff-post-command-hook): Use this new arg. | ||
| 9 | (diff-hunk-header-re-unified): New const. | ||
| 10 | (diff-font-lock-keywords, diff-hunk-header-re, diff-split-hunk) | ||
| 11 | (diff-fixup-modifs, diff-unified->context, diff-next-complex-hunk) | ||
| 12 | (diff-sanity-check-hunk): Use it. | ||
| 13 | |||
| 1 | 2008-02-19 Nick Roberts <nickrob@snap.net.nz> | 14 | 2008-02-19 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 15 | ||
| 3 | * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb. | 16 | * progmodes/gdb-ui.el (gdba): Recreate as an alias for gdb. |