[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8e7728a: Fix thinko in previous footnote.el change
From: |
Lars Ingebrigtsen |
Subject: |
master 8e7728a: Fix thinko in previous footnote.el change |
Date: |
Thu, 21 Jan 2021 06:45:34 -0500 (EST) |
branch: master
commit 8e7728a5bfaf99efd3fb9ea7dd42dabd11a00b5c
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix thinko in previous footnote.el change
* lisp/mail/footnote.el (footnote--regenerate-alist): Don't error
out when there's no footnotes.
---
lisp/mail/footnote.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el
index 9c1a738..995ae5f 100644
--- a/lisp/mail/footnote.el
+++ b/lisp/mail/footnote.el
@@ -916,8 +916,7 @@ play around with the following keys:
(defun footnote--regenerate-alist ()
(save-excursion
(goto-char (point-min))
- (if (not (re-search-forward footnote-section-tag-regexp nil t))
- (error "No footnote section in this buffer")
+ (when (re-search-forward footnote-section-tag-regexp nil t)
(setq footnote--markers-alist
(cl-loop
with start-of-footnotes = (match-beginning 0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 8e7728a: Fix thinko in previous footnote.el change,
Lars Ingebrigtsen <=