* textmodes/flyspell.el (flyspell-check-region-doublons): Fix last
authorChong Yidong <cyd@stupidchicken.com>
Mon, 23 Oct 2006 13:59:44 +0000 (13:59 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 23 Oct 2006 13:59:44 +0000 (13:59 +0000)
fix.

lisp/ChangeLog
lisp/textmodes/flyspell.el

index 2fc449a..606713e 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-22  martin rudalics  <rudalics@gmx.at>
+
+       * textmodes/flyspell.el (flyspell-check-region-doublons): Fix last
+       fix.
+
 2006-10-23  Nick Roberts  <nickrob@snap.net.nz>
 
        * bindings.el (mode-line-mode-menu): List global minor modes
index e452716..b241248 100644 (file)
@@ -1475,7 +1475,7 @@ The buffer to mark them in is `flyspell-large-region-buffer'."
     (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))