Subject: bug#11492: whitespace.el (whitespace-cleanup) not cleaning beginning-of-buffer [PATCH]

From: Chong Yidong <[email-masked]>
Date: Tue, 29 May 2012 19:51:55 +0800

Kevin J. Fletcher <[email-masked]> writes:

> whitespace.el: (whitespace-cleanup) fails to clean whitespace at
> beginning of buffer due to a failed regexp starting with "\\`^".
>
> This patch removes the "^" from the regexp.

I fixed in this trunk using looking-at instead.  Thanks for the report.