diff options
| author | Stefan Monnier | 2008-06-13 15:15:32 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-06-13 15:15:32 +0000 |
| commit | 747d0c440f834ebbbf12c1004f2510a8f76372f0 (patch) | |
| tree | 6ab8c307907bd75ae585d4783c6ea7d3fc4f6991 | |
| parent | 3d5edfa300cddea8883e932591a372be0125247b (diff) | |
| download | emacs-747d0c440f834ebbbf12c1004f2510a8f76372f0.tar.gz emacs-747d0c440f834ebbbf12c1004f2510a8f76372f0.zip | |
(mail-mode-flyspell-verify):
Check message-signature-separator exists before using it.
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 12 |
2 files changed, 16 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 66baf0d960c..7e310e10c33 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,17 +1,22 @@ | |||
| 1 | 2008-06-13 David Reitter <david.reitter@gmail.com> | ||
| 2 | |||
| 3 | * textmodes/flyspell.el (mail-mode-flyspell-verify): | ||
| 4 | Check message-signature-separator exists before using it. | ||
| 5 | |||
| 1 | 2008-06-13 Dan Nicolaescu <dann@ics.uci.edu> | 6 | 2008-06-13 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 7 | ||
| 3 | * vc.el (vc-delete-file): Bind default-directory before calling | 8 | * vc.el (vc-delete-file): Bind default-directory before calling |
| 4 | the backend. | 9 | the backend. |
| 5 | (vc-annotate-show-diff-revision-at-line): Move most of the code to ... | 10 | (vc-annotate-show-diff-revision-at-line): Move most of the code to ... |
| 6 | (vc-annotate-show-diff-revision-at-line-internal): ... here. New | 11 | (vc-annotate-show-diff-revision-at-line-internal): ... here. |
| 7 | function. | 12 | New function. |
| 8 | (vc-annotate-show-changeset-diff-revision-at-line): New function. | 13 | (vc-annotate-show-changeset-diff-revision-at-line): New function. |
| 9 | (vc-annotate-mode-menu): Bind it. | 14 | (vc-annotate-mode-menu): Bind it. |
| 10 | 15 | ||
| 11 | 2008-06-13 Jason Rumney <jasonr@gnu.org> | 16 | 2008-06-13 Jason Rumney <jasonr@gnu.org> |
| 12 | 17 | ||
| 13 | * term/w32-win.el (mouse-set-font): Remove overridden function. | 18 | * term/w32-win.el (mouse-set-font): Remove overridden function. |
| 14 | (w32-select-font): Declare as obsolete alias for x-select-font. | 19 | (w32-select-font): Declare as obsolete alias for x-select-font. |
| 15 | 20 | ||
| 16 | 2008-06-13 Daniel Engeler <engeler@gmail.com> | 21 | 2008-06-13 Daniel Engeler <engeler@gmail.com> |
| 17 | 22 | ||
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 0267dfda7ca..6e78096328e 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -306,11 +306,13 @@ property of the major mode name.") | |||
| 306 | "$") | 306 | "$") |
| 307 | nil t) | 307 | nil t) |
| 308 | (point))) | 308 | (point))) |
| 309 | (signature-begin (save-excursion | 309 | (signature-begin |
| 310 | (goto-char (point-max)) | 310 | (if (not (boundp 'message-signature-separator)) |
| 311 | (re-search-backward message-signature-separator | 311 | (point-max) |
| 312 | nil t) | 312 | (save-excursion |
| 313 | (point)))) | 313 | (goto-char (point-max)) |
| 314 | (re-search-backward message-signature-separator nil t) | ||
| 315 | (point))))) | ||
| 314 | (cond ((< (point) header-end) | 316 | (cond ((< (point) header-end) |
| 315 | (and (save-excursion (beginning-of-line) | 317 | (and (save-excursion (beginning-of-line) |
| 316 | (looking-at "^Subject:")) | 318 | (looking-at "^Subject:")) |