summaryrefslogtreecommitdiff
path: root/ebib-keywords.el
diff options
context:
space:
mode:
authorJoost Kremers <joostkremers@fastmail.fm>2015-01-25 23:47:43 +0100
committerJoost Kremers <joostkremers@fastmail.fm>2015-01-25 23:47:43 +0100
commit58343541f74ffb7953c441a54194716289c39be7 (patch)
tree4f0682af867c8295f54dc61184e70303b621bd23 /ebib-keywords.el
parent7d3b35ce3c3eace8da293f8ac68ee330e7d3072b (diff)
Update doc string of `ebib--keywords-sort'.
Diffstat (limited to 'ebib-keywords.el')
-rw-r--r--ebib-keywords.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/ebib-keywords.el b/ebib-keywords.el
index 75221b8..73761c8 100644
--- a/ebib-keywords.el
+++ b/ebib-keywords.el
@@ -138,7 +138,8 @@ STR should be a string containing keywords separated by
(split-string str (regexp-opt (list ebib-keywords-separator "{" "}")) t "[[:space:]]"))
(defun ebib--keywords-sort (keywords)
- "Sort the KEYWORDS string, remove duplicates, and return it as a string."
+ "Sort the KEYWORDS string, remove duplicates, and return it as a string.
+Note: KEYWORDS should be unbraced."
(mapconcat 'identity
(sort (delete-dups (ebib--keywords-to-list keywords))
'string<)