emacs-diffs
[Top][All Lists]
Advanced

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

master d6c7054ff5: Pacify misc/test-custom-opts


From: Paul Eggert
Subject: master d6c7054ff5: Pacify misc/test-custom-opts
Date: Mon, 25 Apr 2022 20:49:54 -0400 (EDT)

branch: master
commit d6c7054ff5e1e87904353ddd73aecfead4321a7a
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Pacify misc/test-custom-opts
    
    * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl):
    Also allow it to be a cons of integers.
---
 lisp/gnus/gnus-html.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el
index 45f1e6099e..8b2200af54 100644
--- a/lisp/gnus/gnus-html.el
+++ b/lisp/gnus/gnus-html.el
@@ -46,8 +46,9 @@
   :group 'gnus-art
   ;; FIXME hardly the friendliest type.  The allowed value is actually
   ;; any time value, but we are assuming no-one cares about USEC and
-  ;; PSEC here.  It would be better to eg make it a number of minutes.
-  :type '(list integer integer))
+  ;; PSEC here.  It would be better to make it a number of seconds.
+  :type '(choice (cons integer integer)
+                (list integer integer)))
 
 (defcustom gnus-html-image-automatic-caching t
   "Whether automatically cache retrieve images."



reply via email to

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