From 04a1d63981417f92b477fe61d411f508628e0afe Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 11 Apr 2018 13:46:48 +0200 Subject: [PATCH] Don't kill off LibreOffice when selecting the next article in Gnus * 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 327a1ed31ed..f55a6af8027 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el @@ -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) -- 2.39.5