]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/doc-view.el (doc-view-epub-font-size): Fix type; add version.
authorGlenn Morris <rgm@gnu.org>
Thu, 27 Jan 2022 22:21:15 +0000 (14:21 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 27 Jan 2022 22:21:55 +0000 (14:21 -0800)
Flagged by test-custom-opts.

lisp/doc-view.el

index ee6aa055172fbd6c14054a26dd55ba95c7cc879c..b222096ac684c1ead990a7e04839428139a47d72 100644 (file)
@@ -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.