From f6cba7e0851e534ea71c276dfd13c4062bc84407 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 20 Nov 2011 10:44:39 +0100 Subject: [PATCH] * org-list.el (org-list-send-item): Use sort instead of sort*. --- lisp/org/ChangeLog | 4 ++++ lisp/org/org-list.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index 4f4fbf0f931..d9831a9186b 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog @@ -1,3 +1,7 @@ +2011-11-20 Andreas Schwab + + * org-list.el (org-list-send-item): Use sort instead of sort*. + 2011-11-20 Juanma Barranquero * org-table.el (org-table-line-to-dline): Fix typo. diff --git a/lisp/org/org-list.el b/lisp/org/org-list.el index cc8103e3c19..a86c145a9ee 100644 --- a/lisp/org/org-list.el +++ b/lisp/org/org-list.el @@ -1439,7 +1439,7 @@ This function returns, destructively, the new list structure." ;; 1.1. Remove the item just created in structure. (setq struct (delete (assq new-item struct) struct)) ;; 1.2. Copy ITEM and any of its sub-items at NEW-ITEM. - (setq struct (sort* + (setq struct (sort (append struct (mapcar (lambda (e) -- 2.39.2