Rewrite org-insert-heading for maintainability
commit2b9f8c94331571cfc1b2ba09d50a7b5927612eca
authorCarsten Dominik <carsten.dominik@gmail.com>
Fri, 12 Jul 2013 14:38:23 +0000 (12 16:38 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Thu, 8 Aug 2013 06:34:40 +0000 (8 08:34 +0200)
treebed205096ce3c727175d4925bc206a9fd53ec3a4
parent9154c70a04663024c574ff723c9caefe6e4b64ab
Rewrite org-insert-heading for maintainability

* lisp/org.el (org-insert-heading): Rewritten from scratch.
(org-N-empty-lines-before-current): New function
(org-insert-heading-respect-content): Set the correct argument to
force a heading even in lists.
lisp/org.el