From: Lars Ingebrigtsen Date: Fri, 16 Oct 2020 08:46:14 +0000 (+0200) Subject: Fix previous gnus-icalendar sanitization X-Git-Tag: emacs-28.0.90~5608 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=96d7e3dcafa8ff8278ddfd503d993264d06616c4;p=emacs.git Fix previous gnus-icalendar sanitization * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event-from-ical): Fix previous change -- respect nil values passed in. --- diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el index bc1bb838223..389bce85e8b 100644 --- a/lisp/gnus/gnus-icalendar.el +++ b/lisp/gnus/gnus-icalendar.el @@ -270,7 +270,7 @@ (cl-loop for slot in (eieio-class-slots event-class) for keyword = (intern (format ":%s" (eieio-slot-descriptor-name slot))) - when (plist-get args keyword) + when (plist-member args keyword) append (list keyword (plist-get args keyword))))))) (defun gnus-icalendar-event-from-buffer (buf &optional attendee-name-or-email)