summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnus-icalendar-request.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnus-icalendar-request.el b/gnus-icalendar-request.el
index 6942279..95256bd 100644
--- a/gnus-icalendar-request.el
+++ b/gnus-icalendar-request.el
@@ -106,6 +106,7 @@ role."
(insert (gnus-icalendar--build-vcalendar-from-vevent
(gnus-icalendar--ical-from-event event)))))
+;;;###autoload
(defun gnus-icalendar-from-message-and-insert (&optional date location)
"Create a event request based on the current message.
@@ -163,7 +164,7 @@ or will be asked for if nil. Same for location."
location
organizer)
(format "DTSTART:%s" start-time)))
- (event (gnus-icalendar-request :uid uid
+ (event (gnus-icalendar-event-request :uid uid
:recur recur
:location location
:description description