• Stefan Monnier's avatar
    * lisp/vc/diff-mode.el: Avoid re-initializing buffer in diff-syntax · bd6a19cc
    Stefan Monnier authored
    (diff--syntax-file-attributes): New var.
    (diff-syntax-fontify-hunk): Detect when we're reusing the same buffer as
    last time, to avoid re-initializing it.  Skip the
    diff-syntax-fontify-revisions hash-table, since buffer-alist plays the
    same role.
    (diff-syntax-fontify-revisions): Delete var.
    bd6a19cc
diff-mode.el 112 KB