Red Hat Bugzilla – Bug 505684
flyspell-mode fails with mail-mode with message-signature-separator not defined
Last modified: 2009-09-16 05:07:05 EDT
Description of problem:
flyspell-mode fails to work in mail-mode and the error "Error in post-command-hook: (void-variable message-signature-separator)"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. emacs junk.txt
2. M-x mail-mode
3. M-x flyspell-mode
4. type junk words
5. flyspell doesn't work
flyspell doesn't work
flyspell should work
flyspell works when not in mail-mode
If I put
(defvar message-signature-separator "^-- *$" "\
Regexp matching the signature separator.")
in .emacs, it works.
So it looks like message-signature-separator is not defined anywhere.
And a grep of the *.el supports this.
Opened emacs bug:
Response: "This was fixed last year (will be in 23.1)."
Yum update updated emacs to 23.1 and problem fixed.