org-src-mode bug fix
commit8fa55ab87de3d40bd7a01382ef4b9e6117752f24
authorDan Davison <davison@stats.ox.ac.uk>
Sun, 25 Oct 2009 16:33:25 +0000 (25 12:33 -0400)
committerDan Davison <davison@stats.ox.ac.uk>
Tue, 27 Oct 2009 18:18:00 +0000 (27 14:18 -0400)
tree9aa2e61969a9a62de1c705a5f33985d6a6115133
parent2e20a2eea9fca56bbb9310c261a78f5cdb006b5d
org-src-mode bug fix

In org-edit-src-save, point and mark were being restored inside the
save-window-excursion. As it happens, although mark is lost, point
nevertheless retained its position with switch-to-buffer being used to
switch between org and edit buffers, as is currently the
case. However, the failure to restore point correctly is exposed if
more complex options controlling window and frame management are
provided for the edit buffer.
lisp/org-src.el