• Chong Yidong's avatar
    Fix whitespace highlighting of context diffs. · 07875ee7
    Chong Yidong authored
    * lisp/vc/diff-mode.el (diff-setup-whitespace): New function.
    (diff-mode): Use it.
    
    * lisp/vc/diff.el (diff-sentinel):
    * lisp/vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
    Whitespace mode variables based on diff style.
    
    Fixes: debbugs:8612
    07875ee7
diff-mode.el 79.9 KB