aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReuben Thomas2014-05-29 23:38:02 +0100
committerReuben Thomas2014-05-29 23:38:02 +0100
commit6ddcaa8f0596c4fc3d7f90fedf75578244a49320 (patch)
treec7d46bad41634325c9f471732b875a21cdcc7572
parentcb58990d90df41e8cf4774a54d4d302d504cd49a (diff)
downloademacs-6ddcaa8f0596c4fc3d7f90fedf75578244a49320.tar.gz
emacs-6ddcaa8f0596c4fc3d7f90fedf75578244a49320.zip
.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/whitespace.el17
2 files changed, 9 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 746809c12c7..6eb3aba5d22 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12014-05-29 Reuben Thomas <rrt@sc3d.org>
2
3 * whitespace.el (whitespace-report): Simplify documentation.
4
12014-05-29 Stefan Monnier <monnier@iro.umontreal.ca> 52014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * whitespace.el: Use font-lock-flush. Minimize refontifications. 7 * whitespace.el: Use font-lock-flush. Minimize refontifications.
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.
1737 1737
1738Report if some of the following whitespace problems exist: 1738Report if some of the following whitespace problems exist:
1739 1739
1740* If `indent-tabs-mode' is non-nil:
1741 empty 1. empty lines at beginning of buffer.
1742 empty 2. empty lines at end of buffer.
1743 trailing 3. SPACEs or TABs at end of line.
1744 indentation 4. 8 or more SPACEs at beginning of line.
1745 space-before-tab 5. SPACEs before TAB.
1746 space-after-tab 6. 8 or more SPACEs after TAB.
1747
1748* If `indent-tabs-mode' is nil:
1749 empty 1. empty lines at beginning of buffer. 1740 empty 1. empty lines at beginning of buffer.
1750 empty 2. empty lines at end of buffer. 1741 empty 2. empty lines at end of buffer.
1751 trailing 3. SPACEs or TABs at end of line. 1742 trailing 3. SPACEs or TABs at end of line.
1752 indentation 4. TABS at beginning of line. 1743 space-before-tab 4. SPACEs before TAB.
1753 space-before-tab 5. SPACEs before TAB. 1744 space-after-tab 5. 8 or more SPACEs after TAB.
1754 space-after-tab 6. 8 or more SPACEs after TAB. 1745 indentation 6. If `indent-tabs-mode':
1746 8 or more SPACEs at beginning of line
1747 else: TABS at beginning of line.
1755 1748
1756See `whitespace-style' for documentation. 1749See `whitespace-style' for documentation.
1757See also `whitespace-cleanup' and `whitespace-cleanup-region' for 1750See also `whitespace-cleanup' and `whitespace-cleanup-region' for