]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix mailcap-user-mime-data doc string
authorVisuwesh <visuweshm@gmail.com>
Fri, 15 Jul 2022 09:50:03 +0000 (11:50 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 15 Jul 2022 09:50:36 +0000 (11:50 +0200)
* lisp/net/mailcap.el (mailcap-user-mime-data): Make the doc
string reflect the actual structure (bug#56568).

lisp/net/mailcap.el

index ee72eba35db2f847ab2acbe79531ca3d1a3613dc..469643dbca4e1734cee165f2884649718fb3ece3 100644 (file)
@@ -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