summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2006-10-23 13:59:44 +0000
committerChong Yidong <cyd@stupidchicken.com>2006-10-23 13:59:44 +0000
commit081ff0c9bc4ea8668f795dc86d6f1549df132cf5 (patch)
treeccd4bb26f93a565cc644d0bf10336d60b42dce41
parent88efeba65ea05ecf778a56758138484ccdfd5103 (diff)
downloademacs-081ff0c9bc4ea8668f795dc86d6f1549df132cf5.tar.gz
* textmodes/flyspell.el (flyspell-check-region-doublons): Fix last
fix.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/flyspell.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2fc449aea2d..606713efeaa 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index e452716d83d..b24124851de 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -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))