• Stefan Monnier's avatar
    * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs. · 281096ed
    Stefan Monnier authored
    (diff-mode): Add support for add-log.el.
    (diff-hunk-text): Use char offsets rather than line offsets.
    (diff-find-source-location): Replace LINE with line-offset (nil
    if not found) and always set POS to a meaningful position.
    Adapt to the new char-offsets.
    (diff-apply-hunk): Drop support for the unused `select' POPUP.
    Adapt to the new diff-find-source-location.
    (diff-goto-source): Adapt to the new diff-find-source-location.
    281096ed
diff-mode.el 41.3 KB