diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 1d162e515e4..bb829278ef3 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -518,6 +518,8 @@ and: ;;;###autoload (defun whitespace-cleanup () "Cleanup the five different kinds of whitespace problems. +It normally applies to the whole buffer, but in Transient Mark mode +when the mark is active it applies to the region. See `whitespace-buffer' docstring for a summary of the problems." (interactive) (if (and transient-mark-mode mark-active)