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:11:27 +0000 (14:11 +0100)
commit206257aa7eb83a0a62f297e7cf0e3a7c32ff6f05
tree0682b1388edbe35e3ccb68246407500a51da0f24
parent8783b893119354aaf76cf5861942d3cbffef323d
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