org-list: fix insert-item with added data to structure

This commit is contained in:
Nicolas Goaziou 2010-12-30 22:11:27 +01:00
parent 69e02a73de
commit f66e9cbfd5
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ function ends."
(setcar (nthcdr 6 e) (+ end size-offset))))))
struct)
(setq struct (sort
(cons (list item ind bullet nil box (+ item item-size))
(cons (list item ind bullet nil box nil (+ item item-size))
struct)
(lambda (e1 e2) (< (car e1) (car e2)))))
;; 6. If not BEFOREP, new item must appear after ITEM, so