]> git.eshelyaron.com Git - emacs.git/commitdiff
Pacify misc/test-custom-opts
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2022 00:49:23 +0000 (17:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Apr 2022 00:49:47 +0000 (17:49 -0700)
* lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl):
Also allow it to be a cons of integers.

lisp/gnus/gnus-html.el

index 45f1e6099ea8750b8f2db98adb3938ccc3240535..8b2200af54f6e42f417e5675f7f28f1e672bab53 100644 (file)
@@ -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."