]> git.eshelyaron.com Git - emacs.git/commit
New option 'diff-ignore-whitespace-switches'
authorRobert Pluim <rpluim@gmail.com>
Wed, 15 Feb 2023 13:31:43 +0000 (14:31 +0100)
committerRobert Pluim <rpluim@gmail.com>
Wed, 15 Feb 2023 14:28:47 +0000 (15:28 +0100)
commit6a677fd3b6677248a8bc1787b105879684289fa2
tree906c924003dcd25559e37944cced54a5323f0836
parent80b34d165da8b65bf31be7fc4de09610d7bf66f6
New option 'diff-ignore-whitespace-switches'

Allows specifying the switches to use when ignoring whitespace for
those of us who don't like "-b".

* lisp/vc/diff-mode.el (diff-ignore-whitespace-switches): New defcustom.
(diff-refresh-hunk): Use it when ignoring whitespace.
* doc/emacs/files.texi (Diff Mode): Describe the new option.
* etc/NEWS: Announce the new option.
doc/emacs/files.texi
etc/NEWS
lisp/vc/diff-mode.el