From: Paul Eggert Date: Tue, 26 Apr 2022 00:49:23 +0000 (-0700) Subject: Pacify misc/test-custom-opts X-Git-Tag: emacs-29.0.90~1931^2~305 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6c7054ff5e1e87904353ddd73aecfead4321a7a;p=emacs.git Pacify misc/test-custom-opts * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl): Also allow it to be a cons of integers. --- 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."