# HG changeset patch # User Chong Yidong # Date 1161611984 0 # Node ID 93f756e426b8bc21150cdc0e519f511147e8be9c # Parent 0c7cbc22f015d409855f522cf110739310926f9d * textmodes/flyspell.el (flyspell-check-region-doublons): Fix last fix. diff -r 0c7cbc22f015 -r 93f756e426b8 lisp/ChangeLog --- a/lisp/ChangeLog Mon Oct 23 11:49:48 2006 +0000 +++ b/lisp/ChangeLog Mon Oct 23 13:59:44 2006 +0000 @@ -1,3 +1,8 @@ +2006-10-22 martin rudalics + + * textmodes/flyspell.el (flyspell-check-region-doublons): Fix last + fix. + 2006-10-23 Nick Roberts * bindings.el (mode-line-mode-menu): List global minor modes diff -r 0c7cbc22f015 -r 93f756e426b8 lisp/textmodes/flyspell.el --- 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))