]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/excorporate/excorporate-calfw.el.txt
packages/excorporate: Handle nil list of main invitees
[gnu-emacs-elpa] / packages / excorporate / excorporate-calfw.el.txt
index ad31ae97133fbebc1678c0259940660d7d9e2f9c..11bdfe858e80a389754a889ca0bbb967f5e8e68c 100644 (file)
@@ -61,10 +61,10 @@ are the requested participants."
     (make-cfw:event :title (concat
                            (format "\n\t%s" subject)
                            (format "\n\tLocation: %s" location)
-                           (format "\n\tInvitees: %s"
-                                   (mapconcat 'identity
-                                              main-invitees
-                                              "; "))
+                           (when main-invitees
+                             (format "\n\tInvitees: %s"
+                                     (mapconcat 'identity
+                                                main-invitees "; ")))
                            (when optional-invitees
                              (format "\n\tOptional: %s"
                                      (mapconcat 'identity