aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasilij Schneidermann <mail@vasilij.de>2018-02-15 21:06:21 +0100
committerGitHub <noreply@github.com>2018-02-15 21:06:21 +0100
commitb0eab94b84464aa4508ccfee59af5b8df49666a2 (patch)
tree672a6e31a0fafa1b67a70275fa4e7c33fc56877c
parent4ef20ebb587ffb0ab73c85ad5748d41af1071596 (diff)
parent56cdc358ea5390ea23cf852caf5d274e624708c3 (diff)
Merge pull request #26 from Hasimir/unique-not-limited
Not a UUID
-rw-r--r--nov.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/nov.el b/nov.el
index ae16a7c..a9c57cd 100644
--- a/nov.el
+++ b/nov.el
@@ -225,9 +225,9 @@ If PARSE-XML-P is t, return the contents as parsed by libxml."
version))
(defun nov-content-unique-identifier-name (content)
- "Return the UUID name for CONTENT.
+ "Return the unique identifier name referenced in CONTENT.
This is used in `nov-content-unique-identifier' to retrieve the
-UUID."
+the specific type of unique identifier."
(let* ((node (esxml-query "package[unique-identifier]" content))
(name (esxml-node-attribute 'unique-identifier node)))
(when (not name)
@@ -235,7 +235,7 @@ UUID."
name))
(defun nov-content-unique-identifier (content)
- "Return the UUID for CONTENT."
+ "Return the the unique identifier for CONTENT."
(let* ((name (nov-content-unique-identifier-name content))
(selector (format "package>metadata>identifier[id='%s']"
(regexp-quote name)))