mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 20:32:53 +00:00
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>
|
2010-02-08 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
* org.el (org-fontify-meta-lines-and-blocks): Honor
|
* 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)
|
(interactive)
|
||||||
(unless org-edit-src-from-org-mode
|
(unless org-edit-src-from-org-mode
|
||||||
(error "This is not a sub-editing buffer, something is wrong..."))
|
(error "This is not a sub-editing buffer, something is wrong..."))
|
||||||
|
(widen)
|
||||||
(let* ((beg org-edit-src-beg-marker)
|
(let* ((beg org-edit-src-beg-marker)
|
||||||
(end org-edit-src-end-marker)
|
(end org-edit-src-end-marker)
|
||||||
(ovl org-edit-src-overlay)
|
(ovl org-edit-src-overlay)
|
||||||
|
|
Loading…
Reference in a new issue