diff options
author | Michael Eliachevitch <m.eliachevitch@posteo.de> | 2023-03-27 18:14:47 +0200 |
---|---|---|
committer | Vasilij Schneidermann <mail@vasilij.de> | 2023-03-27 19:39:59 +0200 |
commit | 6c992c2c5c4ad03a0f432a74fe4d0cde3b6da4bd (patch) | |
tree | 9ebc632d311ccaa158ee3e70f3052a6356411319 | |
parent | cb5f45cbcfbcf263cdeb2d263eb15edefc8b07cb (diff) |
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
-rw-r--r-- | nov.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |