1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(Footnote-insert-footnote): Fix the search of the last footnote when

`footnote-spaced-footnotes' is nil.
This commit is contained in:
Michaël Cadilhac 2006-12-26 20:29:26 +00:00
parent e817cc9b5f
commit df034a3f0c
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-12-26 Micha,Ak(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

View file

@ -501,7 +501,8 @@ styles."
(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)