summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-html.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-04-25 17:49:23 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-04-25 17:49:47 -0700
commitd6c7054ff5e1e87904353ddd73aecfead4321a7a (patch)
treeccba081109a130f300e1689d431ab48b8efeb16b /lisp/gnus/gnus-html.el
parent0a151b7c29c46ae67ae92d0960e199ae84b3a48b (diff)
downloademacs-d6c7054ff5e1e87904353ddd73aecfead4321a7a.tar.gz
emacs-d6c7054ff5e1e87904353ddd73aecfead4321a7a.tar.bz2
emacs-d6c7054ff5e1e87904353ddd73aecfead4321a7a.zip
Pacify misc/test-custom-opts
* lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl): Also allow it to be a cons of integers.
Diffstat (limited to 'lisp/gnus/gnus-html.el')
-rw-r--r--lisp/gnus/gnus-html.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el
index 45f1e6099ea..8b2200af54f 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."