summaryrefslogtreecommitdiff
path: root/ebib-keywords.el
diff options
context:
space:
mode:
authorJoost Kremers <joostkremers@fastmail.fm>2015-01-25 23:48:56 +0100
committerJoost Kremers <joostkremers@fastmail.fm>2015-01-25 23:48:56 +0100
commit78577090acc8bd12413718b11396437b9f3ae0ba (patch)
treebff355f80a9933f68dbae2fc58fbfceb4afcd10d /ebib-keywords.el
parent58343541f74ffb7953c441a54194716289c39be7 (diff)
Remove TRIM argument of `split-string'.
Emacs 24.3 doesn't have the TRIM argument.
Diffstat (limited to 'ebib-keywords.el')
-rw-r--r--ebib-keywords.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebib-keywords.el b/ebib-keywords.el
index 73761c8..d5333cf 100644
--- a/ebib-keywords.el
+++ b/ebib-keywords.el
@@ -135,7 +135,7 @@ Also automatically remove duplicates."
"Convert STR to a list of keywords.
STR should be a string containing keywords separated by
`ebib-keywords-separator'."
- (split-string str (regexp-opt (list ebib-keywords-separator "{" "}")) t "[[:space:]]"))
+ (split-string str (regexp-quote ebib-keywords-separator) t))
(defun ebib--keywords-sort (keywords)
"Sort the KEYWORDS string, remove duplicates, and return it as a string.