comparison lisp/whitespace.el @ 79856:ee51adf0aeff

(whitespace-check-leading-whitespace, whitespace-check-trailing-whitespace, whitespace-check-spacetab-whitespace, whitespace-check-indent-whitespace, whitespace-check-ateol-whitespace): Fix typos in docstrings.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 16 Jan 2008 16:18:32 +0000
parents 73661ddc7ac7
children 5d58981e6690
comparison
equal deleted inserted replaced
79855:427fc2f81f46 79856:ee51adf0aeff
169 ;; which is 'editing? 169 ;; which is 'editing?
170 :group (if (featurep 'xemacs) 'editing 'convenience)) 170 :group (if (featurep 'xemacs) 'editing 'convenience))
171 171
172 (defcustom whitespace-check-leading-whitespace t 172 (defcustom whitespace-check-leading-whitespace t
173 "Flag to check leading whitespace. This is the global for the system. 173 "Flag to check leading whitespace. This is the global for the system.
174 It can be overriden by setting a buffer local variable 174 It can be overridden by setting a buffer local variable
175 `whitespace-check-buffer-leading'." 175 `whitespace-check-buffer-leading'."
176 :type 'boolean 176 :type 'boolean
177 :group 'whitespace) 177 :group 'whitespace)
178 178
179 (defcustom whitespace-check-trailing-whitespace t 179 (defcustom whitespace-check-trailing-whitespace t
180 "Flag to check trailing whitespace. This is the global for the system. 180 "Flag to check trailing whitespace. This is the global for the system.
181 It can be overriden by setting a buffer local variable 181 It can be overridden by setting a buffer local variable
182 `whitespace-check-buffer-trailing'." 182 `whitespace-check-buffer-trailing'."
183 :type 'boolean 183 :type 'boolean
184 :group 'whitespace) 184 :group 'whitespace)
185 185
186 (defcustom whitespace-check-spacetab-whitespace t 186 (defcustom whitespace-check-spacetab-whitespace t
187 "Flag to check space followed by a TAB. This is the global for the system. 187 "Flag to check space followed by a TAB. This is the global for the system.
188 It can be overriden by setting a buffer local variable 188 It can be overridden by setting a buffer local variable
189 `whitespace-check-buffer-spacetab'." 189 `whitespace-check-buffer-spacetab'."
190 :type 'boolean 190 :type 'boolean
191 :group 'whitespace) 191 :group 'whitespace)
192 192
193 (defcustom whitespace-spacetab-regexp "[ ]+\t" 193 (defcustom whitespace-spacetab-regexp "[ ]+\t"
195 :type 'regexp 195 :type 'regexp
196 :group 'whitespace) 196 :group 'whitespace)
197 197
198 (defcustom whitespace-check-indent-whitespace indent-tabs-mode 198 (defcustom whitespace-check-indent-whitespace indent-tabs-mode
199 "Flag to check indentation whitespace. This is the global for the system. 199 "Flag to check indentation whitespace. This is the global for the system.
200 It can be overriden by setting a buffer local variable 200 It can be overridden by setting a buffer local variable
201 `whitespace-check-buffer-indent'." 201 `whitespace-check-buffer-indent'."
202 :type 'boolean 202 :type 'boolean
203 :group 'whitespace) 203 :group 'whitespace)
204 204
205 (defcustom whitespace-indent-regexp "^\t*\\( \\)+" 205 (defcustom whitespace-indent-regexp "^\t*\\( \\)+"
208 :type 'regexp 208 :type 'regexp
209 :group 'whitespace) 209 :group 'whitespace)
210 210
211 (defcustom whitespace-check-ateol-whitespace t 211 (defcustom whitespace-check-ateol-whitespace t
212 "Flag to check end-of-line whitespace. This is the global for the system. 212 "Flag to check end-of-line whitespace. This is the global for the system.
213 It can be overriden by setting a buffer local variable 213 It can be overridden by setting a buffer local variable
214 `whitespace-check-buffer-ateol'." 214 `whitespace-check-buffer-ateol'."
215 :type 'boolean 215 :type 'boolean
216 :group 'whitespace) 216 :group 'whitespace)
217 217
218 (defcustom whitespace-ateol-regexp "[ \t]+$" 218 (defcustom whitespace-ateol-regexp "[ \t]+$"