• Stefan Monnier's avatar
    Make it more robust in the presence of empty context lines in unified hunks. · 95dfb89d
    Stefan Monnier authored
    (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.
    95dfb89d
ChangeLog 1.32 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.