]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow event description to be empty
authorRobert Pluim <rpluim@gmail.com>
Tue, 15 Oct 2019 10:00:34 +0000 (12:00 +0200)
committerRobert Pluim <rpluim@gmail.com>
Wed, 16 Oct 2019 06:14:49 +0000 (08:14 +0200)
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

index e4779f52c07e1d2ff2fcb7e839ab997a0702a1d5..77e73e6606d0777f784fe1fb911c77f306a7bd78 100644 (file)
@@ -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)))