From 265061d4c2436251db5f2d10dc64be6272e29a54 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Tue, 15 Oct 2019 12:00:34 +0200 Subject: [PATCH] Allow event description to be empty The previous fix for this was incomplete. * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event->org-entry): Allow description to be nil. --- 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 e4779f52c07..77e73e6606d 100644 --- a/lisp/gnus/gnus-icalendar.el +++ b/lisp/gnus/gnus-icalendar.el @@ -485,7 +485,7 @@ Return nil for non-recurring EVENT." (narrow-to-region (point) (point)) (insert (gnus-icalendar-event:org-timestamp event) "\n\n" - description) + (or description "No description")) (indent-region (point-min) (point-max) 2) (fill-region (point-min) (point-max))) -- 2.39.2