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: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/flyspell.el,v
Date: Fri, 13 Jun 2008 15:15:34 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        08/06/13 15:15:32

Index: textmodes/flyspell.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/flyspell.el,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -b -r1.133 -r1.134
--- textmodes/flyspell.el       6 May 2008 04:33:08 -0000       1.133
+++ textmodes/flyspell.el       13 Jun 2008 15:15:32 -0000      1.134
@@ -306,11 +306,13 @@
                               "$")
                       nil t)
                      (point)))
-       (signature-begin (save-excursion
+       (signature-begin
+         (if (not (boundp 'message-signature-separator))
+             (point-max)
+           (save-excursion
                           (goto-char (point-max))
-                          (re-search-backward message-signature-separator
-                                              nil t)
-                          (point))))
+             (re-search-backward message-signature-separator nil t)
+             (point)))))
     (cond ((< (point) header-end)
           (and (save-excursion (beginning-of-line)
                                (looking-at "^Subject:"))




reply via email to

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