From d6c7054ff5e1e87904353ddd73aecfead4321a7a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 25 Apr 2022 17:49:23 -0700 Subject: [PATCH] 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 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." -- 2.39.5