# HG changeset patch # User Stefan Monnier # Date 1213370132 0 # Node ID 22320e063151310bea38c7a107250474d2f5a70f # Parent d87b6172ad6681a5faadbc4964b143597c00d067 (mail-mode-flyspell-verify): Check message-signature-separator exists before using it. diff -r d87b6172ad66 -r 22320e063151 lisp/ChangeLog --- a/lisp/ChangeLog Fri Jun 13 14:52:13 2008 +0000 +++ b/lisp/ChangeLog Fri Jun 13 15:15:32 2008 +0000 @@ -1,17 +1,22 @@ +2008-06-13 David Reitter + + * textmodes/flyspell.el (mail-mode-flyspell-verify): + Check message-signature-separator exists before using it. + 2008-06-13 Dan Nicolaescu * vc.el (vc-delete-file): Bind default-directory before calling the backend. (vc-annotate-show-diff-revision-at-line): Move most of the code to ... - (vc-annotate-show-diff-revision-at-line-internal): ... here. New - function. + (vc-annotate-show-diff-revision-at-line-internal): ... here. + New function. (vc-annotate-show-changeset-diff-revision-at-line): New function. (vc-annotate-mode-menu): Bind it. 2008-06-13 Jason Rumney - * term/w32-win.el (mouse-set-font): Remove overridden function. - (w32-select-font): Declare as obsolete alias for x-select-font. + * term/w32-win.el (mouse-set-font): Remove overridden function. + (w32-select-font): Declare as obsolete alias for x-select-font. 2008-06-13 Daniel Engeler diff -r d87b6172ad66 -r 22320e063151 lisp/textmodes/flyspell.el --- a/lisp/textmodes/flyspell.el Fri Jun 13 14:52:13 2008 +0000 +++ b/lisp/textmodes/flyspell.el Fri Jun 13 15:15:32 2008 +0000 @@ -306,11 +306,13 @@ "$") nil t) (point))) - (signature-begin (save-excursion - (goto-char (point-max)) - (re-search-backward message-signature-separator - nil t) - (point)))) + (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))))) (cond ((< (point) header-end) (and (save-excursion (beginning-of-line) (looking-at "^Subject:"))