diff lisp/textmodes/flyspell.el @ 36129:4c28e9406f50

(flyspell-get-word): Return string without properties.
author Dave Love <fx@gnu.org>
date Fri, 16 Feb 2001 15:04:26 +0000
parents 927cbaaa27f8
children df30cce5ee20
line wrap: on
line diff
--- a/lisp/textmodes/flyspell.el	Fri Feb 16 14:57:10 2001 +0000
+++ b/lisp/textmodes/flyspell.el	Fri Feb 16 15:04:26 2001 +0000
@@ -1221,7 +1221,7 @@
       (progn
 	(setq start (match-beginning 0)
 	      end (point)
-	      word (buffer-substring start end))
+	      word (buffer-substring-no-properties start end))
 	(list word start end)))))
 
 ;*---------------------------------------------------------------------*/