mailcap: Treat .ics files as text/calendar
This ensures iCalendar attachments are always displayed correctly (via `gnus-icalendar-mm-inline'), even when they have an incorrect MIME type (looking at you Google Calendar). * lisp/net/mailcap.el (mailcap-mime-extensions): Add a mapping from ".ics" to "text/calendar". (Bug#78764)
This commit is contained in:
parent
994f816ca8
commit
e1d0ee1b6b
1 changed files with 1 additions and 0 deletions
|
|
@ -920,6 +920,7 @@ If NO-DECODE is non-nil, don't decode STRING."
|
|||
(".htm" . "text/html")
|
||||
(".html" . "text/html")
|
||||
(".icon" . "image/x-icon")
|
||||
(".ics" . "text/calendar")
|
||||
(".ief" . "image/ief")
|
||||
(".jpg" . "image/jpeg")
|
||||
(".macp" . "image/x-macpaint")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue