aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVisuwesh2022-07-15 11:50:03 +0200
committerLars Ingebrigtsen2022-07-15 11:50:36 +0200
commit0f59d7b53bd311357dfe0685e82e2cb7cb41c213 (patch)
treea11c75d862c2b3959f0f7dec5c179d2b7fc5af98
parent200938b95d1b73d03ce758e69a69d4fb198be4e8 (diff)
downloademacs-0f59d7b53bd311357dfe0685e82e2cb7cb41c213.tar.gz
emacs-0f59d7b53bd311357dfe0685e82e2cb7cb41c213.zip
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).
-rw-r--r--lisp/net/mailcap.el6
1 files 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."
87 87
88(defcustom mailcap-user-mime-data nil 88(defcustom mailcap-user-mime-data nil
89 "A list of viewers preferred for different MIME types. 89 "A list of viewers preferred for different MIME types.
90The elements of the list are alists of the following structure 90The elements of the list are lists of the following structure
91 91
92 ((viewer . VIEWER) 92 (VIEWER MIME-TYPE TEST)
93 (type . MIME-TYPE)
94 (test . TEST))
95 93
96where VIEWER is either a Lisp command, e.g., a major mode, or a 94where VIEWER is either a Lisp command, e.g., a major mode, or a
97string containing a shell command for viewing files of the 95string containing a shell command for viewing files of the