diff options
author | Vasilij Schneidermann <mail@vasilij.de> | 2018-02-15 21:06:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-15 21:06:21 +0100 |
commit | b0eab94b84464aa4508ccfee59af5b8df49666a2 (patch) | |
tree | 672a6e31a0fafa1b67a70275fa4e7c33fc56877c /nov.el | |
parent | 4ef20ebb587ffb0ab73c85ad5748d41af1071596 (diff) | |
parent | 56cdc358ea5390ea23cf852caf5d274e624708c3 (diff) |
Merge pull request #26 from Hasimir/unique-not-limited
Not a UUID
Diffstat (limited to 'nov.el')
-rw-r--r-- | nov.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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))) |