]> code.delx.au - gnu-emacs/commitdiff
* textmodes/flyspell.el (flyspell-word-search-backward): Set
authorChong Yidong <cyd@stupidchicken.com>
Wed, 18 Oct 2006 04:13:46 +0000 (04:13 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 18 Oct 2006 04:13:46 +0000 (04:13 +0000)
inhibit-point-motion-hooks to avoid looping due to intangibile
text.

lisp/ChangeLog
lisp/textmodes/flyspell.el

index 1a7faae2c55cd62cd4f9775d8f5a3f5e7e749284..551c17b8ddaadc0fb2a8d267e401ad64e688ff15 100644 (file)
@@ -1,3 +1,9 @@
+2006-10-18  Martin Rudalics  <rudalics@gmx.at>
+
+       * textmodes/flyspell.el (flyspell-word-search-backward): Set
+       inhibit-point-motion-hooks to avoid looping due to intangibile
+       text.
+
 2006-10-16  Kim F. Storm  <storm@cua.dk>
 
        * ido.el (ido-reread-directory): Work in `dir' mode too.
index ebee4691e8c7921ad6dff1a5a9da4e9fc83679cf..e7b95c9619d576ab012b5a251e170ce0489d831c 100644 (file)
@@ -959,6 +959,7 @@ Mostly we check word delimiters."
 (defun flyspell-word-search-backward (word bound)
   (save-excursion
     (let ((r '())
+         (inhibit-point-motion-hooks t)
          p)
       (while (and (not r) (setq p (search-backward word bound t)))
        (let ((lw (flyspell-get-word '())))
@@ -973,6 +974,7 @@ Mostly we check word delimiters."
 (defun flyspell-word-search-forward (word bound)
   (save-excursion
     (let ((r '())
+         (inhibit-point-motion-hooks t)
          p)
       (while (and (not r) (setq p (search-forward word bound t)))
        (let ((lw (flyspell-get-word '())))