# HG changeset patch # User Vinicius Jose Latorre # Date 1254103053 0 # Node ID 1308a0fb85e9c42f0e72a24052c5e62ea2df3e2a # Parent 4b2a0c5f855224e48a5f7018bfe04ddbdf757a22 Fix doc string. diff -r 4b2a0c5f8552 -r 1308a0fb85e9 lisp/ChangeLog --- a/lisp/ChangeLog Mon Sep 28 01:41:23 2009 +0000 +++ b/lisp/ChangeLog Mon Sep 28 01:57:33 2009 +0000 @@ -18,6 +18,12 @@ * cedet/mode-local.el: * cedet/pulse.el: New files. +2009-09-27 Vinicius Jose Latorre + + * whitespace.el (whitespace-trailing-regexp) + (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp): + Fix doc string. + 2009-09-27 Chong Yidong * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools diff -r 4b2a0c5f8552 -r 1308a0fb85e9 lisp/whitespace.el --- a/lisp/whitespace.el Mon Sep 28 01:41:23 2009 +0000 +++ b/lisp/whitespace.el Mon Sep 28 01:57:33 2009 +0000 @@ -6,7 +6,7 @@ ;; Author: Vinicius Jose Latorre ;; Maintainer: Vinicius Jose Latorre ;; Keywords: data, wp -;; Version: 12 +;; Version: 12.0 ;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre ;; This file is part of GNU Emacs. @@ -2310,7 +2310,7 @@ (defun whitespace-trailing-regexp (limit) - "Match trailing spaces which does not contain the point at end of line." + "Match trailing spaces which do not contain the point at end of line." (let ((status t)) (while (if (re-search-forward whitespace-trailing-regexp limit t) (save-match-data @@ -2320,14 +2320,14 @@ (defun whitespace-empty-at-bob-regexp (limit) - "Match spaces at beginning of buffer which does not contain the point at \ + "Match spaces at beginning of buffer which do not contain the point at \ beginning of buffer." (and (/= whitespace-point 1) (re-search-forward whitespace-empty-at-bob-regexp limit t))) (defun whitespace-empty-at-eob-regexp (limit) - "Match spaces at end of buffer which does not contain the point at end of \ + "Match spaces at end of buffer which do not contain the point at end of \ buffer." (and (/= whitespace-point (1+ (buffer-size))) (re-search-forward whitespace-empty-at-eob-regexp limit t)))