org-src: Fix org-edit-src-code for empty blocks and block with just an empty line
authorLe Wang <le.wang@agworld.com.au>
Sun, 18 Nov 2012 05:39:51 +0000 (13:39 +0800)
committerNicolas Goaziou <n.goaziou@gmail.com>
Fri, 30 Nov 2012 13:19:27 +0000 (14:19 +0100)
commit8d22b119786206bbae98183b0fb61e3ab1b22a43
tree5a0d10ae0b7605aa505d668c1e254503184e425d
parentf3a251520534d84b1e783c6390f9fac83ab36dc2
org-src: Fix org-edit-src-code for empty blocks and block with just an empty line

* lisp/org-src.el (org-edit-src-code): Use marker with insertion type
t to track end and remove hack requiring delete from beg to (1- end).
lisp/org-src.el