emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0f59d7b53b: Fix mailcap-user-mime-data doc string


From: Lars Ingebrigtsen
Subject: master 0f59d7b53b: Fix mailcap-user-mime-data doc string
Date: Fri, 15 Jul 2022 05:50:42 -0400 (EDT)

branch: master
commit 0f59d7b53bd311357dfe0685e82e2cb7cb41c213
Author: Visuwesh <visuweshm@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 ee72eba35d..469643dbca 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]