]> code.delx.au - gnu-emacs/blobdiff - lisp/textmodes/flyspell.el
Fix problems caused by new implementation of sub-word mode
[gnu-emacs] / lisp / textmodes / flyspell.el
index 3b1a805f51b2bedff171636644c8041803ace08a..730b55fbd8ffb192bad05fef9949e8d8a939a761 100644 (file)
@@ -345,7 +345,7 @@ property of the major mode name.")
 (defun texinfo-mode-flyspell-verify ()
   "Function used for `flyspell-generic-check-word-predicate' in Texinfo mode."
   (save-excursion
-    (forward-word -1)
+    (forward-word-strictly -1)
     (not (looking-at "@"))))
 
 ;;*--- tex mode --------------------------------------------------------*/