From 0f59d7b53bd311357dfe0685e82e2cb7cb41c213 Mon Sep 17 00:00:00 2001 From: Visuwesh Date: Fri, 15 Jul 2022 11:50:03 +0200 Subject: [PATCH] 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). --- lisp/net/mailcap.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.39.2