Better behavior for Org src buffers
This commit is contained in:
parent
bb7ff53069
commit
46cfd4adf8
@ -2161,14 +2161,15 @@
|
|||||||
|
|
||||||
Since Org 9.3, Org no longer attempts to restore the window configuration
|
Since Org 9.3, Org no longer attempts to restore the window configuration
|
||||||
in the frame to which the user returns after editing a source block with
|
in the frame to which the user returns after editing a source block with
|
||||||
=org-edit-src-code=. This means with the original value of
|
~org-edit-src-code~. This means with the original value of
|
||||||
~org-src-window-setup~ (~reorganize-frame~), the current frame will be
|
~org-src-window-setup~ (~reorganize-frame~), the current frame will be
|
||||||
split in two between the original org window and the source window, and
|
split in two between the original org window and the source window, and
|
||||||
then only the org window will remain once we quit the source window. This
|
once we quit the source window only the org window will remain . This is
|
||||||
is not a desired behavior for me, so I chose to set this variable to
|
not a desired behavior for me, so I chose to set this variable to
|
||||||
~other-window~ in order to keep my windows organization.
|
~split-window-right~ in order to keep my windows organization and have a
|
||||||
|
similar behavior to the old one.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq org-src-window-setup 'other-window)
|
(setq org-src-window-setup 'split-window-right)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
**** Miscellaneous
|
**** Miscellaneous
|
||||||
|
Loading…
Reference in New Issue
Block a user