aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2008-08-06 03:35:04 +0000
committerVinicius Jose Latorre2008-08-06 03:35:04 +0000
commitcd222e44e07d5b431a81ae8515a211f7e420de9f (patch)
tree3dad76d7442b309c241fea81b26cf7a54a3a1a21
parent0e4cd8ded4d8d4272aa11272d3b30cef1d1cec55 (diff)
downloademacs-cd222e44e07d5b431a81ae8515a211f7e420de9f.tar.gz
emacs-cd222e44e07d5b431a81ae8515a211f7e420de9f.zip
Improve docstring.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/whitespace.el38
2 files changed, 33 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5540f889a3a..37f6d024fbe 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12008-08-06 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2
3 * whitespace.el (whitespace-newline-mode)
4 (global-whitespace-newline-mode, whitespace-mode)
5 (global-whitespace-mode): Improve docstring.
6
12008-08-05 Chong Yidong <cyd@stupidchicken.com> 72008-08-05 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * kmacro.el (kmacro-exec-ring-item): Add autoload. 9 * kmacro.el (kmacro-exec-ring-item): Add autoload.
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 72501dfaf83..41f0af600dd 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -161,10 +161,10 @@
161;; There are also the following useful commands: 161;; There are also the following useful commands:
162;; 162;;
163;; `whitespace-newline-mode' 163;; `whitespace-newline-mode'
164;; Toggle newline minor mode visualization ("nl" on modeline). 164;; Toggle NEWLINE minor mode visualization ("nl" on modeline).
165;; 165;;
166;; `global-whitespace-newline-mode' 166;; `global-whitespace-newline-mode'
167;; Toggle newline global minor mode visualization ("NL" on modeline). 167;; Toggle NEWLINE global minor mode visualization ("NL" on modeline).
168;; 168;;
169;; `whitespace-report' 169;; `whitespace-report'
170;; Report some blank problems in buffer. 170;; Report some blank problems in buffer.
@@ -341,7 +341,7 @@
341;; "long" lines. See EightyColumnRule (EmacsWiki). 341;; "long" lines. See EightyColumnRule (EmacsWiki).
342;; 342;;
343;; Thanks to Yanghui Bian <yanghuibian@gmail.com> for indicating a new 343;; Thanks to Yanghui Bian <yanghuibian@gmail.com> for indicating a new
344;; newline character mapping. 344;; NEWLINE character mapping.
345;; 345;;
346;; Thanks to Pete Forman <pete.forman@westgeo.com> for indicating 346;; Thanks to Pete Forman <pete.forman@westgeo.com> for indicating
347;; whitespace-mode.el on XEmacs. 347;; whitespace-mode.el on XEmacs.
@@ -1012,7 +1012,10 @@ Any other value is treated as nil."
1012If ARG is null, toggle whitespace visualization. 1012If ARG is null, toggle whitespace visualization.
1013If ARG is a number greater than zero, turn on visualization; 1013If ARG is a number greater than zero, turn on visualization;
1014otherwise, turn off visualization. 1014otherwise, turn off visualization.
1015Only useful with a windowing system." 1015Only useful with a windowing system.
1016
1017See also `whitespace-style', `whitespace-newline' and
1018`whitespace-display-mappings'."
1016 :lighter " ws" 1019 :lighter " ws"
1017 :init-value nil 1020 :init-value nil
1018 :global nil 1021 :global nil
@@ -1029,14 +1032,19 @@ Only useful with a windowing system."
1029 1032
1030;;;###autoload 1033;;;###autoload
1031(define-minor-mode whitespace-newline-mode 1034(define-minor-mode whitespace-newline-mode
1032 "Toggle newline minor mode visualization (\"nl\" on modeline). 1035 "Toggle NEWLINE minor mode visualization (\"nl\" on modeline).
1033 1036
1034If ARG is null, toggle newline visualization. 1037If ARG is null, toggle NEWLINE visualization.
1035If ARG is a number greater than zero, turn on visualization; 1038If ARG is a number greater than zero, turn on visualization;
1036otherwise, turn off visualization. 1039otherwise, turn off visualization.
1037Only useful with a windowing system. 1040Only useful with a windowing system.
1038 1041
1039See also `whitespace-newline'." 1042Use `whitespace-newline-mode' only for NEWLINE visualization
1043exclusively. For other visualizations, including NEWLINE
1044visualization together with (HARD) SPACEs and/or TABs, please,
1045use `whitespace-mode'.
1046
1047See also `whitespace-newline' and `whitespace-display-mappings'."
1040 :lighter " nl" 1048 :lighter " nl"
1041 :init-value nil 1049 :init-value nil
1042 :global nil 1050 :global nil
@@ -1058,7 +1066,10 @@ See also `whitespace-newline'."
1058If ARG is null, toggle whitespace visualization. 1066If ARG is null, toggle whitespace visualization.
1059If ARG is a number greater than zero, turn on visualization; 1067If ARG is a number greater than zero, turn on visualization;
1060otherwise, turn off visualization. 1068otherwise, turn off visualization.
1061Only useful with a windowing system." 1069Only useful with a windowing system.
1070
1071See also `whitespace-style', `whitespace-newline' and
1072`whitespace-display-mappings'."
1062 :lighter " WS" 1073 :lighter " WS"
1063 :init-value nil 1074 :init-value nil
1064 :global t 1075 :global t
@@ -1107,14 +1118,19 @@ Only useful with a windowing system."
1107 1118
1108;;;###autoload 1119;;;###autoload
1109(define-minor-mode global-whitespace-newline-mode 1120(define-minor-mode global-whitespace-newline-mode
1110 "Toggle newline global minor mode visualization (\"NL\" on modeline). 1121 "Toggle NEWLINE global minor mode visualization (\"NL\" on modeline).
1111 1122
1112If ARG is null, toggle newline visualization. 1123If ARG is null, toggle NEWLINE visualization.
1113If ARG is a number greater than zero, turn on visualization; 1124If ARG is a number greater than zero, turn on visualization;
1114otherwise, turn off visualization. 1125otherwise, turn off visualization.
1115Only useful with a windowing system. 1126Only useful with a windowing system.
1116 1127
1117See also `whitespace-newline'." 1128Use `global-whitespace-newline-mode' only for NEWLINE
1129visualization exclusively. For other visualizations, including
1130NEWLINE visualization together with (HARD) SPACEs and/or TABs,
1131please, use `global-whitespace-mode'.
1132
1133See also `whitespace-newline' and `whitespace-display-mappings'."
1118 :lighter " NL" 1134 :lighter " NL"
1119 :init-value nil 1135 :init-value nil
1120 :global t 1136 :global t