From 53ebc1fa21f068862753de6cb6a8eb4ad71d8a40 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 27 Jan 2022 14:21:15 -0800 Subject: [PATCH] * lisp/doc-view.el (doc-view-epub-font-size): Fix type; add version. Flagged by test-custom-opts. --- lisp/doc-view.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. -- 2.39.5