From 6c992c2c5c4ad03a0f432a74fe4d0cde3b6da4bd Mon Sep 17 00:00:00 2001 From: Michael Eliachevitch Date: Mon, 27 Mar 2023 18:14:47 +0200 Subject: Silence byte-compiler by avoiding unescaped single-quotes Unescaped and unpaired single-quotes in docstrings cause warnings when byte-compiling nov.el, which is fixed by this commit. For reference, see text-quoting style documentation https://www.gnu.org/software/emacs/manual/html_node/elisp/Text-Quoting-Style.html and https://emacs.stackexchange.com/a/73048 --- nov.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nov.el b/nov.el index 4e30615..664412d 100644 --- a/nov.el +++ b/nov.el @@ -302,11 +302,11 @@ the specific type of unique identifier." (defvar nov-optional-metadata-tags '(contributor coverage creator date description format publisher relation rights source subject type) - "Optional metadata tags used for 'nov-content-metadata'.") + "Optional metadata tags used for `nov-content-metadata'.") (defun nov-content-metadata (content) "Return a metadata alist for CONTENT. -Required keys are 'identifier and everything in +Required keys are \\='identifier and everything in `nov-required-metadata-tags', optional keys are in `nov-optional-metadata-tags'." (let* ((identifier (nov-content-unique-identifier content)) -- cgit v1.2.3