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.
This commit is contained in:
parent
3c7dd8487d
commit
21d4acf035
|
@ -303,7 +303,7 @@ or new, let the user edit the definition of the footnote."
|
||||||
(t
|
(t
|
||||||
(setq re (concat "^" org-footnote-tag-for-non-org-mode-files "[ \t]*$"))
|
(setq re (concat "^" org-footnote-tag-for-non-org-mode-files "[ \t]*$"))
|
||||||
(unless (re-search-forward re nil 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))
|
(re-search-forward message-signature-separator nil t))
|
||||||
(progn (beginning-of-line) (point))
|
(progn (beginning-of-line) (point))
|
||||||
(goto-char (point-max)))))
|
(goto-char (point-max)))))
|
||||||
|
|
Loading…
Reference in New Issue