aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab <[email protected]>2011-11-20 10:44:39 +0100
committerAndreas Schwab <[email protected]>2011-11-20 10:44:39 +0100
commitf6cba7e0851e534ea71c276dfd13c4062bc84407 (patch)
treea136d8fbd905b5ffe74a6529690940e1256d5d23
parentd5ff9cd0468a844d90181c5a6591bdabd2a45acd (diff)
* org-list.el (org-list-send-item): Use sort instead of sort*.
-rw-r--r--lisp/org/ChangeLog4
-rw-r--r--lisp/org/org-list.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index 4f4fbf0f93..d9831a9186 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-20 Andreas Schwab <[email protected]>
+
+ * org-list.el (org-list-send-item): Use sort instead of sort*.
+
2011-11-20 Juanma Barranquero <[email protected]>
* 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 cc8103e3c1..a86c145a9e 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)