From e6d1e06f0769cf8353f46c9828e0dada861b4c0c Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Sun, 11 Sep 2022 21:59:50 -0700 Subject: [PATCH] I edit blocks all the time, so let's reuse the window --- ha-org.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ha-org.org b/ha-org.org index c19ba2d..4791a95 100644 --- a/ha-org.org +++ b/ha-org.org @@ -326,10 +326,12 @@ I might replace my code with the [[https://github.com/benmaughan/spotlight.el][s I use [[https://orgmode.org/worg/org-contrib/babel/intro.html][org-babel]] (obviously) and don’t need confirmation before evaluating a block: #+name: ob-configuration #+begin_src emacs-lisp :tangle no - (setq org-confirm-babel-evaluate nil - org-src-fontify-natively t - org-src-tab-acts-natively t) + (setq org-confirm-babel-evaluate nil + org-src-fontify-natively t + org-src-tab-acts-natively t + org-src-window-setup 'current-window) #+end_src + Whenever I edit Emacs Lisp blocks from my tangle-able configuration files, I get a lot of superfluous warnings. Let's turn them off. #+name: no-flycheck-in-org #+begin_src emacs-lisp :tangle no