Mercurial > emacs
comparison lisp/whitespace.el @ 72472:1f82c3397a43
(whitespace-cleanup): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 21 Aug 2006 10:55:53 +0000 |
parents | 384cd9b2e977 |
children | b0f398ac4cbd 694bbb62a75d 6823a91487f2 |
comparison
equal
deleted
inserted
replaced
72471:67b9aa1b5c82 | 72472:1f82c3397a43 |
---|---|
516 (whitespace-buffer)))) | 516 (whitespace-buffer)))) |
517 | 517 |
518 ;;;###autoload | 518 ;;;###autoload |
519 (defun whitespace-cleanup () | 519 (defun whitespace-cleanup () |
520 "Cleanup the five different kinds of whitespace problems. | 520 "Cleanup the five different kinds of whitespace problems. |
521 It normally applies to the whole buffer, but in Transient Mark mode | |
522 when the mark is active it applies to the region. | |
521 See `whitespace-buffer' docstring for a summary of the problems." | 523 See `whitespace-buffer' docstring for a summary of the problems." |
522 (interactive) | 524 (interactive) |
523 (if (and transient-mark-mode mark-active) | 525 (if (and transient-mark-mode mark-active) |
524 (whitespace-cleanup-region (region-beginning) (region-end)) | 526 (whitespace-cleanup-region (region-beginning) (region-end)) |
525 (whitespace-cleanup-internal))) | 527 (whitespace-cleanup-internal))) |