emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diff-mode and whitespace-mode


From: Dan Nicolaescu
Subject: diff-mode and whitespace-mode
Date: Sun, 4 Jan 2009 11:52:44 -0800 (PST)

`diff-show-trailing-whitespaces' sets `whitespace-style' and
`whitespace-trailing-regexp' and then calls `whitespace-mode'.

`diff-mode' could set those 2 variables, and then calling
`whitespace-mode' would show trailing whitespaces in diff-mode, and the
`diff-show-trailing-whitespaces' function could be removed.

The above would work if whitespace-style and whitespace-trailing-regexp
were not used for some other purpose in conjunction with diff-mode.
Stefan asks if that is indeed the case.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]