Mercurial > emacs
comparison lisp/erc/erc.el @ 80151:533d83b5f687
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.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 19 Feb 2008 19:44:48 +0000 |
parents | d3d9941875cc |
children | f991f10f15ec |
comparison
equal
deleted
inserted
replaced
80150:761dbf0b9e96 | 80151:533d83b5f687 |
---|