seems to have trouble with XEmacs 20.4 (user reported bug). Xemacs
doesn't create group if this is present.
Bug verified. Not yet determined the problem.
Take a tip from Noah Friedman
<friedman@splode.com> and test for existence of `defcustom' and
`defgroup' using fboundp instead of assuming that these are not
present in particular flavors of emacs.
(whitespace-display-in-modeline): Add custom
variable to control displaying the whitespace errors on the
modeline based on suggestion from <klaus.berndl@sdm.de>
(whitespace-buffer): Now returns `t' if unclean
and `nil' if clean, to enable using as a hook function, as
suggested by Puneet Goel <puneet@computer.org>
(whitespace-buffer): Fix a subtle bug that cleaned
up only if quiet was not set, even with whitespace-auto-cleanup set.
(whitespace-mode-line): Now uses less modeline
real estate and shows whitespaces as W:<x>!<y> where <x> is any
type of whitespace which is present in the file, and <y> is any
type of whitespace whose check has been suppressed by setting
`whitespace-check-<whitespace-type>' to nil.
(whitespace-unchecked-whitespaces): New function
to return the list of whitespaces for whom checks have been
suppressed.
(whitespace-display-unchecked-whitespaces):
Renamed to `whitespace-update-modeline' to reflect its functionality.
(whitespace-version): Update to 2.5
Add customization variables to conditionally test
any of the five whitespaces.
(whitespace-spacetab-regexp): Fix doc string.
(whitespace-modes): Add `change-log-mode' to the
list of modes to be checked for bogus whitespaces.
(whitespace-rescan-timer-time): Update documentation.
(whitespace-display-unchecked-whitespaces):
new function to update modeline with untested whitespaces.
(whitespace-buffer): Test only whitespaces whose
checking is turned on, and update modeline using the newly created
`whitespace-display-unchecked-whitespaces'.
(whitespace-cleanup): Cleanup only whitespaces
whose checking is turned on, and update modeline using the newly
created `whitespace-display-unchecked-whitespaces'.
(whitespace-describe): Update documentation.
(whitespace-tickle-timer): Test if `whitespace-rescan-timer-time' is
non-zero before tickling timer.