Added fix for Org 9.3 behavior
This commit is contained in:
parent
a95145053c
commit
f22441c660
@ -2159,6 +2159,18 @@
|
||||
(add-to-list 'org-structure-template-alist '("L" . "src emacs-lisp"))
|
||||
#+end_src
|
||||
|
||||
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
|
||||
=org-edit-src-code=. This means with the original value of
|
||||
~org-src-window-setup~ (~reorganize-frame~), the current frame will be
|
||||
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
|
||||
is not a desired behavior for me, so I chose to set this variable to
|
||||
~other-window~ in order to keep my windows organization.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-src-window-setup 'other-window)
|
||||
#+END_SRC
|
||||
|
||||
**** Miscellaneous
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: h-42ccf90a-f507-4fab-ae42-3fd815a34ef0
|
||||
|
Loading…
Reference in New Issue
Block a user