diff options
Diffstat (limited to 'nov.el')
-rw-r--r-- | nov.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -212,8 +212,9 @@ If PARSE-XML-P is t, return the contents as parsed by libxml." (defun nov-epub-valid-p (directory) "Return t if DIRECTORY makes up a valid EPUB document." - (and (nov-mimetype-valid-p directory) - (nov-container-valid-p directory))) + (when (not (nov-mimetype-valid-p directory)) + (message "Invalid mimetype")) + (nov-container-valid-p directory)) (defun nov-content-version (content) "Return the EPUB version for CONTENT." |