[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e8db980: Don't bug out in gnus-icalendar when there no recurring
From: |
Lars Ingebrigtsen |
Subject: |
master e8db980: Don't bug out in gnus-icalendar when there no recurring event |
Date: |
Tue, 25 Aug 2020 10:36:24 -0400 (EDT) |
branch: master
commit e8db980dcb50bf1883b3d456a8e070baae83a2d7
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Don't bug out in gnus-icalendar when there no recurring event
* lisp/gnus/gnus-icalendar.el
(gnus-icalendar-event:recurring-days): Fix previous patch
(bug#43038) -- don't bug out when there's no recurring event.
---
lisp/gnus/gnus-icalendar.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el
index f13d4de..da41b08 100644
--- a/lisp/gnus/gnus-icalendar.el
+++ b/lisp/gnus/gnus-icalendar.el
@@ -148,7 +148,7 @@
("TH" . 4)
("FR" . 5)
("SA" . 6))))
- (when (string-match "BYDAY=\\([^;]+\\)" rrule)
+ (when (and rrule (string-match "BYDAY=\\([^;]+\\)" rrule))
(let ((bydays (split-string (match-string 1 rrule) ",")))
(seq-map
(lambda (x) (cdr (assoc x weekday-map)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master e8db980: Don't bug out in gnus-icalendar when there no recurring event,
Lars Ingebrigtsen <=