From 96d7e3dcafa8ff8278ddfd503d993264d06616c4 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 16 Oct 2020 10:46:14 +0200 Subject: [PATCH] Fix previous gnus-icalendar sanitization * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event-from-ical): Fix previous change -- respect nil values passed in. --- 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 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) -- 2.39.2