diff options
author | Joost Kremers <joostkremers@fastmail.fm> | 2015-01-25 23:47:43 +0100 |
---|---|---|
committer | Joost Kremers <joostkremers@fastmail.fm> | 2015-01-25 23:47:43 +0100 |
commit | 58343541f74ffb7953c441a54194716289c39be7 (patch) | |
tree | 4f0682af867c8295f54dc61184e70303b621bd23 /ebib-keywords.el | |
parent | 7d3b35ce3c3eace8da293f8ac68ee330e7d3072b (diff) |
Update doc string of `ebib--keywords-sort'.
Diffstat (limited to 'ebib-keywords.el')
-rw-r--r-- | ebib-keywords.el | 3 |
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<) |