Fix indentation bug
commit41d005822ebfd1c8b65e4ae3bb3d51aea7ef47f3
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 24 Feb 2016 19:58:55 +0000 (24 20:58 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 24 Feb 2016 19:58:55 +0000 (24 20:58 +0100)
treed7f51fa983aa4762c1afe4db2ae25f78e39a226a
parent1f84cc2182720a2395dab81e152ebba273a3655f
Fix indentation bug

* lisp/org.el (org--get-expected-indentation): Fix indentation bug.
* testing/lisp/test-org.el (test-org/indent-line): Add test.

In the following document, the last line would be indented to "|"

- item

  #+BEGIN_SRC emacs-lisp
    (+ 1 1)
  #+END_SRC
    |
lisp/org.el
testing/lisp/test-org.el