mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
gnus-icalendar small fix
* gnus/gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body): Avoid using `find', which i) might not be defined at runtime; ii) does not work, since its default test is eql, not equal. (gnus-mime-action-alist): Declare.
This commit is contained in:
parent
44915370e8
commit
a99f655b99
2 changed files with 12 additions and 3 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2013-09-12 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* gnus-icalendar.el (gnus-icalendar-event--build-reply-event-body):
|
||||
Avoid using `find', which i) might not be defined at runtime;
|
||||
ii) does not work, since its default test is eql, not equal.
|
||||
(gnus-mime-action-alist): Declare.
|
||||
|
||||
2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* score-mode.el (gnus-score-mode-map): Move initialization
|
||||
|
|
|
|||
|
|
@ -257,9 +257,9 @@ status will be retrieved from the first matching attendee record."
|
|||
((string= key "ATTENDEE") (update-attendee-status line))
|
||||
((string= key "SUMMARY") (update-summary line))
|
||||
((string= key "DTSTAMP") (update-dtstamp))
|
||||
((find key '("ORGANIZER" "DTSTART" "DTEND"
|
||||
"LOCATION" "DURATION" "SEQUENCE"
|
||||
"RECURRENCE-ID" "UID")) line)
|
||||
((member key '("ORGANIZER" "DTSTART" "DTEND"
|
||||
"LOCATION" "DURATION" "SEQUENCE"
|
||||
"RECURRENCE-ID" "UID")) line)
|
||||
(t nil))))
|
||||
(when new-line
|
||||
(push new-line reply-event-lines))))))
|
||||
|
|
@ -816,6 +816,8 @@ is searched."
|
|||
(gnus-icalendar-show-org-agenda
|
||||
(with-current-buffer gnus-article-buffer gnus-icalendar-event)))
|
||||
|
||||
(defvar gnus-mime-action-alist) ; gnus-art
|
||||
|
||||
(defun gnus-icalendar-setup ()
|
||||
(add-to-list 'mm-inlined-types "text/calendar")
|
||||
(add-to-list 'mm-automatic-display "text/calendar")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue