From 9c141cfd8c0f0ca429730ddd395623cded47daab Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sat, 13 Apr 2013 10:02:29 +0200 Subject: [PATCH] org.el (org-uniquify-alist): Improve docstring * org.el (org-uniquify-alist): Improve docstring. --- lisp/org.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index cf5c9a96a..5bb008c9f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -21598,14 +21598,16 @@ for the search purpose." (let ((res (copy-seq list))) (delete-dups res))) (defun org-uniquify-alist (alist) - "Merge duplicate elements of ALIST. + "Merge elements of ALIST with the same key. For example, in this alist: \(org-uniquify-alist '((a 1) (b 2) (a 3))) => '((a 1 3) (b 2)) -merge (a 1) and (a 3) into (a 1 3) and return the new alist." +merge (a 1) and (a 3) into (a 1 3). + +The function returns the new ALIST." (let (rtn) (mapc (lambda (e) -- 2.11.4.GIT