From: Glenn Morris Date: Thu, 27 Jan 2022 22:21:15 +0000 (-0800) Subject: * lisp/doc-view.el (doc-view-epub-font-size): Fix type; add version. X-Git-Tag: emacs-29.0.90~2702 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53ebc1fa21f068862753de6cb6a8eb4ad71d8a40;p=emacs.git * lisp/doc-view.el (doc-view-epub-font-size): Fix type; add version. Flagged by test-custom-opts. --- diff --git a/lisp/doc-view.el b/lisp/doc-view.el index ee6aa055172..b222096ac68 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -254,8 +254,9 @@ Can be `dvi', `pdf', `ps', `djvu', `odf', 'epub', `cbz', `fb2', (defcustom doc-view-epub-font-size nil "Font size in points for EPUB layout." - :type 'integer - :set #'doc-view-custom-set-epub-font-size) + :type '(choice (const nil) integer) + :set #'doc-view-custom-set-epub-font-size + :version "29.1") (defcustom doc-view-scale-internally t "Whether we should try to rescale images ourselves.