`footnote-spaced-footnotes' is nil.
+2006-12-26 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org>
+
+ * mail/footnote.el (Footnote-insert-footnote): Fix the search of the
+ last footnote when `footnote-spaced-footnotes' is nil.
+
2006-12-26 Richard Stallman <rms@gnu.org>
* image.el (image-type-header-regexps): Change element format
(regexp-quote footnote-end-tag)))
nil t)
(unless (beginning-of-line) t))
- (goto-char (point-max)))))
+ (Footnote-goto-char-point-max)
+ (re-search-backward (concat "^" footnote-section-tag-regexp) nil t))))
(unless (looking-at "^$")
(insert "\n"))
(when (eobp)