summaryrefslogtreecommitdiff
path: root/lisp/whitespace.el
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2014-05-29 23:38:02 +0100
committerReuben Thomas <rrt@sc3d.org>2014-05-29 23:38:02 +0100
commit6ddcaa8f0596c4fc3d7f90fedf75578244a49320 (patch)
treec7d46bad41634325c9f471732b875a21cdcc7572 /lisp/whitespace.el
parentcb58990d90df41e8cf4774a54d4d302d504cd49a (diff)
downloademacs-6ddcaa8f0596c4fc3d7f90fedf75578244a49320.tar.gz
.
Diffstat (limited to 'lisp/whitespace.el')
-rw-r--r--lisp/whitespace.el17
1 files changed, 5 insertions, 12 deletions
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 2217506fff5..72919340a29 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -1737,21 +1737,14 @@ whitespace problems in buffer.
Report if some of the following whitespace problems exist:
-* If `indent-tabs-mode' is non-nil:
- empty 1. empty lines at beginning of buffer.
- empty 2. empty lines at end of buffer.
- trailing 3. SPACEs or TABs at end of line.
- indentation 4. 8 or more SPACEs at beginning of line.
- space-before-tab 5. SPACEs before TAB.
- space-after-tab 6. 8 or more SPACEs after TAB.
-
-* If `indent-tabs-mode' is nil:
empty 1. empty lines at beginning of buffer.
empty 2. empty lines at end of buffer.
trailing 3. SPACEs or TABs at end of line.
- indentation 4. TABS at beginning of line.
- space-before-tab 5. SPACEs before TAB.
- space-after-tab 6. 8 or more SPACEs after TAB.
+ space-before-tab 4. SPACEs before TAB.
+ space-after-tab 5. 8 or more SPACEs after TAB.
+ indentation 6. If `indent-tabs-mode':
+ 8 or more SPACEs at beginning of line
+ else: TABS at beginning of line.
See `whitespace-style' for documentation.
See also `whitespace-cleanup' and `whitespace-cleanup-region' for