diff options
| author | Michaël Cadilhac | 2006-12-26 20:29:26 +0000 |
|---|---|---|
| committer | Michaël Cadilhac | 2006-12-26 20:29:26 +0000 |
| commit | df034a3f0cf6b48fe265a86b6702468ce80c12e2 (patch) | |
| tree | 45956c53aa962ab47190c5fb852c90122aea1b65 | |
| parent | e817cc9b5f09bf64f339a8315a64c65d01346859 (diff) | |
| download | emacs-df034a3f0cf6b48fe265a86b6702468ce80c12e2.tar.gz emacs-df034a3f0cf6b48fe265a86b6702468ce80c12e2.zip | |
(Footnote-insert-footnote): Fix the search of the last footnote when
`footnote-spaced-footnotes' is nil.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/mail/footnote.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fb34edb883e..68cc10cfd94 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-12-26 Micha,Ak(Bl Cadilhac <michael.cadilhac@lrde.org> | ||
| 2 | |||
| 3 | * mail/footnote.el (Footnote-insert-footnote): Fix the search of the | ||
| 4 | last footnote when `footnote-spaced-footnotes' is nil. | ||
| 5 | |||
| 1 | 2006-12-26 Richard Stallman <rms@gnu.org> | 6 | 2006-12-26 Richard Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * image.el (image-type-header-regexps): Change element format | 8 | * image.el (image-type-header-regexps): Change element format |
diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el index da7e5fcf579..b2374490026 100644 --- a/lisp/mail/footnote.el +++ b/lisp/mail/footnote.el | |||
| @@ -501,7 +501,8 @@ styles." | |||
| 501 | (regexp-quote footnote-end-tag))) | 501 | (regexp-quote footnote-end-tag))) |
| 502 | nil t) | 502 | nil t) |
| 503 | (unless (beginning-of-line) t)) | 503 | (unless (beginning-of-line) t)) |
| 504 | (goto-char (point-max))))) | 504 | (Footnote-goto-char-point-max) |
| 505 | (re-search-backward (concat "^" footnote-section-tag-regexp) nil t)))) | ||
| 505 | (unless (looking-at "^$") | 506 | (unless (looking-at "^$") |
| 506 | (insert "\n")) | 507 | (insert "\n")) |
| 507 | (when (eobp) | 508 | (when (eobp) |