diff lisp/textmodes/flyspell.el @ 73480:93f756e426b8

* textmodes/flyspell.el (flyspell-check-region-doublons): Fix last fix.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 23 Oct 2006 13:59:44 +0000
parents 9b076439f58a
children 497f9d6319e7 7eeafaaa9eab
line wrap: on
line diff
--- a/lisp/textmodes/flyspell.el	Mon Oct 23 11:49:48 2006 +0000
+++ b/lisp/textmodes/flyspell.el	Mon Oct 23 13:59:44 2006 +0000
@@ -1475,7 +1475,7 @@
     (flyspell-word)     ; Make sure current word is checked
     (backward-word 1)
     (while (and (< (point) end)
-		(re-search-forward "\\(\\w+\\)\\s-+\\1\\>"
+		(re-search-forward "\\<\\(\\w+\\)\\>[ \n\t\f]+\\1\\>"
 				   end 'move))
       (flyspell-word)
       (backward-word 1))