emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/flyspell.el,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/flyspell.el,v
Date: Tue, 26 Aug 2008 23:00:32 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/08/26 23:00:32

Index: flyspell.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/flyspell.el,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -b -r1.134 -r1.135
--- flyspell.el 13 Jun 2008 15:15:32 -0000      1.134
+++ flyspell.el 26 Aug 2008 23:00:31 -0000      1.135
@@ -744,6 +744,9 @@
                  (eq flyspell-previous-command this-command)))
         (or (= (current-column) 0)
             (= (current-column) flyspell-pre-column)
+            ;; If other post-command-hooks change the buffer,
+            ;; flyspell-pre-point can lie past eob (bug#468).
+            (null (char-after flyspell-pre-point))
             (eq (char-syntax (char-after flyspell-pre-point)) ?w)))
     nil)
    ((not (eq (current-buffer) flyspell-pre-buffer))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]