summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTassilo Horn <tassilo@member.fsf.org>2010-12-07 23:40:22 +0000
committerCarsten Dominik <carsten.dominik@gmail.com>2010-12-10 07:34:27 +0100
commit21d4acf0354236fbd28bc4659872725f4637c3d6 (patch)
tree921e77d690111062c1537fdbb08c771c15e35144
parent3c7dd8487d8ba3ef67a349389454143c0c34afa4 (diff)
downloadorg-mode-21d4acf0354236fbd28bc4659872725f4637c3d6.tar.gz
Place Footnotes section before signature in all message-mode derived modes.
* org-footnote.el (org-footnote-create-definition): Place Footnotes section before message-signature-separator also in modes derived from message-mode.
-rw-r--r--lisp/org-footnote.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index 2a97b54..8cb4bbc 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -303,7 +303,7 @@ or new, let the user edit the definition of the footnote."
(t
(setq re (concat "^" org-footnote-tag-for-non-org-mode-files "[ \t]*$"))
(unless (re-search-forward re nil t)
- (let ((max (if (and (eq major-mode 'message-mode)
+ (let ((max (if (and (derived-mode-p 'message-mode)
(re-search-forward message-signature-separator nil t))
(progn (beginning-of-line) (point))
(goto-char (point-max)))))