diff options
| author | Stefan Monnier | 2009-09-04 03:09:44 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-09-04 03:09:44 +0000 |
| commit | c0bc6d79eab4c5e38e8eb84558d160f1eb8ed22d (patch) | |
| tree | 81354dc159d60a09b2fad75d039c158c64dfdf55 | |
| parent | 1c78a735d17167139aa81f927b0241e314e3bd3d (diff) | |
| download | emacs-c0bc6d79eab4c5e38e8eb84558d160f1eb8ed22d.tar.gz emacs-c0bc6d79eab4c5e38e8eb84558d160f1eb8ed22d.zip | |
(Footnote-text-under-cursor):
Check footnote-text-marker-alist before using it (bug#4324).
| -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 155b4804ebd..7882d1b1b04 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-09-04 Leo <sdl.web@gmail.com> (tiny change) | ||
| 2 | |||
| 3 | * mail/footnote.el (Footnote-text-under-cursor): | ||
| 4 | Check footnote-text-marker-alist before using it (bug#4324). | ||
| 5 | |||
| 1 | 2009-09-04 Glenn Morris <rgm@gnu.org> | 6 | 2009-09-04 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * calendar/diary-lib.el (diary-fancy-display): Only switch modes if | 8 | * calendar/diary-lib.el (diary-fancy-display): Only switch modes if |
diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el index 16a6adc1007..81f215dd726 100644 --- a/lisp/mail/footnote.el +++ b/lisp/mail/footnote.el | |||
| @@ -566,7 +566,8 @@ a footnote." | |||
| 566 | (Footnote-narrow-to-footnotes) | 566 | (Footnote-narrow-to-footnotes) |
| 567 | (and (>= old-point (point-min)) | 567 | (and (>= old-point (point-min)) |
| 568 | (<= old-point (point-max)))))) | 568 | (<= old-point (point-max)))))) |
| 569 | (>= (point) (cdar footnote-text-marker-alist))) | 569 | footnote-text-marker-alist |
| 570 | (>= (point) (cdar footnote-text-marker-alist))) | ||
| 570 | (let ((i 1) | 571 | (let ((i 1) |
| 571 | alist-txt rc) | 572 | alist-txt rc) |
| 572 | (while (and (setq alist-txt (nth i footnote-text-marker-alist)) | 573 | (while (and (setq alist-txt (nth i footnote-text-marker-alist)) |