[Emacs] Edit src blocks in same frame in org-mode

This commit is contained in:
Ivan Malison 2016-11-07 13:46:39 -08:00
parent 8297e27aba
commit 67fbec9cd7
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2842,6 +2842,7 @@ Intero seems to be causing hangs, so it has been disabled
#+END_SRC #+END_SRC
** Document ** Document
*** org *** org
**** config
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package org (use-package org
:ensure org-plus-contrib :ensure org-plus-contrib
@ -3252,6 +3253,16 @@ Intero seems to be causing hangs, so it has been disabled
;; blame. ;; blame.
)) ))
#+END_SRC #+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 **** 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]]. 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 #+BEGIN_SRC emacs-lisp