]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't kill off LibreOffice when selecting the next article in Gnus
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 11 Apr 2018 11:46:48 +0000 (13:46 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 11 Apr 2018 11:46:48 +0000 (13:46 +0200)
* lisp/gnus/mm-decode.el (mm-keep-viewer-alive-types): Add the
media types that LibreOffice uses to the list, since we don't want
to kill off LibreOffice willy-nilly.

lisp/gnus/mm-decode.el

index 327a1ed31edb34c5aaa1af98ef86f34a8636aa78..f55a6af8027e2a0ea040843a6dff6e4c573972fb 100644 (file)
@@ -323,11 +323,12 @@ type inline."
 
 (defcustom mm-keep-viewer-alive-types
   '("application/postscript" "application/msword" "application/vnd.ms-excel"
-    "application/pdf" "application/x-dvi")
+    "application/pdf" "application/x-dvi"
+    "application/vnd.*")
   "Media types for viewers not to be killed when selecting a different article.
 Instead the viewers will be killed on Gnus exit instead.  This is
 a list of regexps."
-  :version "22.1"
+  :version "27.1"
   :type '(repeat regexp)
   :group 'mime-display)