Widen before exiting edit buffers
This commit is contained in:
parent
facd02f812
commit
7c686465b5
|
@ -1,3 +1,7 @@
|
|||
2010-02-09 Dan Davison <davison@stats.ox.ac.uk>
|
||||
|
||||
* org-src.el (org-edit-src-exit): Widen before exiting edit buffers
|
||||
|
||||
2010-02-08 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-fontify-meta-lines-and-blocks): Honor
|
||||
|
|
|
@ -515,6 +515,7 @@ the language, a switch telling if the content should be in a single line."
|
|||
(interactive)
|
||||
(unless org-edit-src-from-org-mode
|
||||
(error "This is not a sub-editing buffer, something is wrong..."))
|
||||
(widen)
|
||||
(let* ((beg org-edit-src-beg-marker)
|
||||
(end org-edit-src-end-marker)
|
||||
(ovl org-edit-src-overlay)
|
||||
|
|
Loading…
Reference in New Issue