summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-03-19 17:02:09 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-03-19 18:39:35 (GMT)
commit1ab084ba730f1205cf04ef72b0f62b6a8a70749e (patch)
tree7d6c31388d89873319189b68c73d82a2d2c7ae39
parent70417caa902622955dbaf4dcc79c3f61bd525eec (diff)
downloadorg-mode-1ab084ba730f1205cf04ef72b0f62b6a8a70749e.zip
org-mode-1ab084ba730f1205cf04ef72b0f62b6a8a70749e.tar.gz
org.el (org-entry-add-to-multivalued-property): Add the new value by appending it at the end of the line
* org.el (org-entry-add-to-multivalued-property): Add the new value by appending it at the end of the line. Thanks to Thorsten Jolitz for a preliminary patch for this.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 11349f6..bf74afd 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -15098,7 +15098,7 @@ an empty drawer to delete."
(values (and old (org-split-string old "[ \t]"))))
(setq value (org-entry-protect-space value))
(unless (member value values)
- (setq values (cons value values))
+ (setq values (append values (list value)))
(org-entry-put pom property
(mapconcat 'identity values " ")))))