From: Robert Pluim Date: Tue, 15 Oct 2019 10:00:34 +0000 (+0200) Subject: Allow event description to be empty X-Git-Tag: emacs-27.0.90~1036 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=265061d4c2436251db5f2d10dc64be6272e29a54;p=emacs.git 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. --- 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)))