Richard Riley <rile...@gmail.com> writes: > Erik Iverson <er...@ccbr.umn.edu> writes: > >> See the org-src-window-setup variable. >> >> I think you want it set to current-window. > > Well spotted. Thanks. Here is a small path to update the docs to mention > this :-
Thanks Richard, I've added that. Dan > > diff --git a/lisp/org-src.el b/lisp/org-src.el > index 7ed7606..920fa8a 100644 > --- a/lisp/org-src.el > +++ b/lisp/org-src.el > @@ -200,7 +200,7 @@ The example is copied to a separate buffer, and that > buffer is switched > to the correct language mode. When done, exit with \\[org-edit-src-exit]. > This will remove the original code in the Org buffer, and replace it with > the edited version. Optional argument CONTEXT is used by > -\\[org-edit-src-save] when calling this function." > +\\[org-edit-src-save] when calling this function. See > \\[org-src-window-setup] to configure the buffer open mode." > (interactive) > (unless (eq context 'save) > (setq org-edit-src-saved-temp-window-config > (current-window-configuration))) > > >> >> Richard Riley wrote: >>> Is there a way to configure emacs/org so that C-c ' which calls >>> org-edit-src-code for me opens the source in the same window rather >>> than splitting the window and continuing to show the then redundant org >>> babel source? >>> >>> cheers >>> >>> r. >>> >>> >>> _______________________________________________ >>> Emacs-orgmode mailing list >>> Please use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> >> _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode