[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] Re: org-edit-src-code : same window?
From: |
Richard Riley |
Subject: |
[Orgmode] [PATCH] Re: org-edit-src-code : same window? |
Date: |
Wed, 01 Sep 2010 21:22:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Erik Iverson <address@hidden> 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 :-
--8<---------------cut here---------------start------------->8---
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)))
--8<---------------cut here---------------end--------------->8---
>
> 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.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
☘ http://www.shamrockirishbar.com, http://www.richardriley.net
"Learning French is trivial: the word for horse is 'cheval' and
everything follows thusly." : quotemaster, #emacs on irc.freenode.net