Function: gnus-icalendar-event:inline-org-buttons
gnus-icalendar-event:inline-org-buttons is a byte-compiled function
defined in gnus-icalendar.el.gz.
Signature
(gnus-icalendar-event:inline-org-buttons ARG &rest ARGS)
Implementations
(gnus-icalendar-event:inline-org-buttons (EVENT gnus-icalendar-event-cancel)) in `gnus-icalendar.el'.
Undocumented
(gnus-icalendar-event:inline-org-buttons (EVENT gnus-icalendar-event)) in `gnus-icalendar.el'.
Undocumented
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-icalendar.el.gz
(cl-defmethod gnus-icalendar-event:inline-org-buttons ((event gnus-icalendar-event))
(let* ((org-entry-exists-p (gnus-icalendar-find-org-event-file event))
(export-button-text (if org-entry-exists-p "Update Org Entry" "Export to Org")))
(delq nil (list
`("Show Agenda" gnus-icalendar-show-org-agenda ,event)
(when (cl-typep event 'gnus-icalendar-event-request)
`(,export-button-text gnus-icalendar-sync-event-to-org ,event))
(when org-entry-exists-p
`("Show Org Entry" gnus-icalendar--show-org-event ,event))))))