From: Visuwesh Date: Fri, 15 Jul 2022 09:50:03 +0000 (+0200) Subject: Fix mailcap-user-mime-data doc string X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1886^2~920 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0f59d7b53bd311357dfe0685e82e2cb7cb41c213;p=emacs.git Fix mailcap-user-mime-data doc string * lisp/net/mailcap.el (mailcap-user-mime-data): Make the doc string reflect the actual structure (bug#56568). --- diff --git a/lisp/net/mailcap.el b/lisp/net/mailcap.el index ee72eba35db..469643dbca4 100644 --- a/lisp/net/mailcap.el +++ b/lisp/net/mailcap.el @@ -87,11 +87,9 @@ you have an entry for \"image/*\" in your ~/.mailcap file." (defcustom mailcap-user-mime-data nil "A list of viewers preferred for different MIME types. -The elements of the list are alists of the following structure +The elements of the list are lists of the following structure - ((viewer . VIEWER) - (type . MIME-TYPE) - (test . TEST)) + (VIEWER MIME-TYPE TEST) where VIEWER is either a Lisp command, e.g., a major mode, or a string containing a shell command for viewing files of the