(Footnote-text-under-cursor):

Check footnote-text-marker-alist before using it (bug#4324).
This commit is contained in:
Stefan Monnier 2009-09-04 03:09:44 +00:00
parent 1c78a735d1
commit c0bc6d79ea
2 changed files with 7 additions and 1 deletions

View file

@ -566,7 +566,8 @@ a footnote."
(Footnote-narrow-to-footnotes)
(and (>= old-point (point-min))
(<= old-point (point-max))))))
(>= (point) (cdar footnote-text-marker-alist)))
footnote-text-marker-alist
(>= (point) (cdar footnote-text-marker-alist)))
(let ((i 1)
alist-txt rc)
(while (and (setq alist-txt (nth i footnote-text-marker-alist))