Fix `org-return' on list items
commit55ce4b74b363a8b78542a30eb8cfd39a1757a935
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 14 Feb 2015 01:07:18 +0000 (14 02:07 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 14 Feb 2015 01:07:18 +0000 (14 02:07 +0100)
tree02d9f9395badf9428bc6745f3577804dfdbc1811
parente50baa4cf7b97cc2e9b6991560be2bd970106e1e
Fix `org-return' on list items

* lisp/org.el (org-return): Properly preserve list structure when
  calling `org-return-indent' on an item.

* testing/lisp/test-org.el (test-org/return): Add test.

Reported-by: Rasmus <rasmus@gmx.us>
<http://permalink.gmane.org/gmane.emacs.orgmode/94977>
lisp/org.el
testing/lisp/test-org.el