Rewrite `org-indent-line'
commit51ffcd02ddd0e9dc79ee293e05ec1bab3f5b4093
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 24 Dec 2013 13:04:17 +0000 (24 14:04 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 7 May 2014 15:39:52 +0000 (7 17:39 +0200)
treec8ecb48465f9435a2bd5f7baead037b0ba44d7e1
parentfea672d30ef4701721c0d4aa70462760a6b21be7
Rewrite `org-indent-line'

* lisp/org.el (org--get-expected-indentation,
  org--align-node-property): New functions.
(org-indent-line): Use new function.  Also merge functionalities with
`org-src-native-tab-command-maybe'.

* lisp/org-src.el (org-src-native-tab-command-maybe): Remove function.

* testing/lisp/test-org.el (test-org/indent-line): New test.
lisp/org-src.el
lisp/org.el
testing/lisp/test-org.el