0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 03:46:27 +00:00

org-list: forgot a default case in org-list-struct

This commit is contained in:
Nicolas Goaziou 2011-01-26 13:25:37 +01:00
parent 7ce76a7acc
commit 349196def4

View file

@ -792,7 +792,8 @@ Assume point is at an item."
(push (cons 0 (funcall end-before-blank)) end-lst-2)))
((<= ind (nth 1 (car itm-lst-2)))
(push (cons ind (point)) end-lst-2)
(forward-line 1))))))
(forward-line 1))
(t (forward-line 1))))))
(setq struct (append itm-lst (cdr (nreverse itm-lst-2))))
(setq end-lst (append end-lst (cdr (nreverse end-lst-2))))
;; 3. Correct ill-formed lists by ensuring top item is the least