diff options
| author | Stefan Monnier | 2019-05-01 17:53:39 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2019-05-01 17:53:39 -0400 |
| commit | 4299e5ef9af182cbc1d97f8a22b589901e6494b1 (patch) | |
| tree | 893da7cc1e5e84cd419306403f950a7256a5cc28 /src | |
| parent | c9b820ddcfb7e44b4aa1ac349de9cf8453bca6bd (diff) | |
| download | emacs-4299e5ef9af182cbc1d97f8a22b589901e6494b1.tar.gz emacs-4299e5ef9af182cbc1d97f8a22b589901e6494b1.zip | |
* lisp/mail/footnote.el: Consolidate the two marker-alists
Consolidate footnote-text-marker-alist and footnote-pointer-marker-alist
into a single footnote--markers-alist.
(footnote--markers-alist): New var.
(footnote-text-marker-alist, footnote-pointer-marker-alist): Delete vars.
(footnote--refresh-footnotes, footnote--text-under-cursor)
(footnote--calc-fn-alignment-column, footnote-add-footnote)
(footnote-goto-footnote, footnote-back-to-message): Adjust accordingly.
(footnote--make-hole, footnote-delete-footnote)
(footnote-renumber-footnotes): Simplify accordingly.
(footnote-cycle-style): Indicate style name in echo area.
(footnote--renumber): Take a single `alist-elem` arg instead of
`pointer-alist` and `text-alist`.
(footnote--insert-text-marker, footnote--insert-pointer-marker):
Add to footnote--markers-alist instead.
(footnote--first-text-marker): New function.
(footnote--get-area-point-min): Use it.
footnote--goto-first): New function.
(footnote--insert-footnote): Use it.
(footnote-style-number): Use defvar-local.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions