* elmo-util.el (elmo-union): New function, make a union of two lists.
+2009-05-26 Vitaly Mayatskikh <v.mayatskih@gmail.com>
+
+ * elmo-util.el (elmo-union): New function, make a union of two lists.
+
2009-05-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
* elmo-version.el (elmo-version): Up to 2.15.7.
(setq list (cdr list))))
list)
+(defun elmo-union (l1 l2)
+ "Make a union of two lists"
+ (elmo-uniq-sorted-list (sort (append l1 l2) #'<)))
+
(defun elmo-list-insert (list element after)
(let* ((match (memq after list))
(rest (and match (cdr (memq after list)))))