aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/flyspell.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index dc4f521c018..e71eb440c12 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -267,7 +267,9 @@ property of the major mode name.")
267(defun mail-mode-flyspell-verify () 267(defun mail-mode-flyspell-verify ()
268 "This function is used for `flyspell-generic-check-word-p' in Mail mode." 268 "This function is used for `flyspell-generic-check-word-p' in Mail mode."
269 (let ((in-headers (save-excursion 269 (let ((in-headers (save-excursion
270 (re-search-forward mail-header-separator nil t))) 270 ;; When mail-header-separator is "",
271 ;; it is likely to be found in both directions.
272 (not (re-search-backward (concat "^" (regexp-quote mail-header-separator) "$") nil t))))
271 (in-signature (save-excursion 273 (in-signature (save-excursion
272 (re-search-backward message-signature-separator nil t)))) 274 (re-search-backward message-signature-separator nil t))))
273 (cond (in-headers 275 (cond (in-headers
@@ -1628,7 +1630,7 @@ misspelled words backwards."
1628(defun flyspell-abbrev-table () 1630(defun flyspell-abbrev-table ()
1629 (if flyspell-use-global-abbrev-table-p 1631 (if flyspell-use-global-abbrev-table-p
1630 global-abbrev-table 1632 global-abbrev-table
1631 local-abbrev-table)) 1633 (or local-abbrev-table global-abbrev-table)))
1632 1634
1633;*---------------------------------------------------------------------*/ 1635;*---------------------------------------------------------------------*/
1634;* flyspell-define-abbrev ... */ 1636;* flyspell-define-abbrev ... */