[Emacs] Edit src blocks in same frame in org-mode
This commit is contained in:
parent
8297e27aba
commit
67fbec9cd7
@ -2842,6 +2842,7 @@ Intero seems to be causing hangs, so it has been disabled
|
||||
#+END_SRC
|
||||
** Document
|
||||
*** org
|
||||
**** config
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package org
|
||||
:ensure org-plus-contrib
|
||||
@ -3252,6 +3253,16 @@ Intero seems to be causing hangs, so it has been disabled
|
||||
;; blame.
|
||||
))
|
||||
#+END_SRC
|
||||
**** Use frames
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package org
|
||||
:config
|
||||
(progn
|
||||
(setq org-src-window-setup 'current-window)
|
||||
(when (imalison:use-frames-only)
|
||||
(progn
|
||||
(setcdr (assoc 'file org-link-frame-setup) 'find-file-other-frame)))))
|
||||
#+END_SRC
|
||||
**** Set Background Color of Source Blocks for Export
|
||||
This was taken from [[http://emacs.stackexchange.com/questions/3374/set-the-background-of-org-exported-code-blocks-according-to-theme][here]].
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
Loading…
Reference in New Issue
Block a user