summary refs log tree commit diff
path: root/emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.org')
-rw-r--r--emacs.org7
1 files changed, 3 insertions, 4 deletions
diff --git a/emacs.org b/emacs.org
index a54dcbb..555c7b0 100644
--- a/emacs.org
+++ b/emacs.org
@@ -251,12 +251,11 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto
      use-package, so I had to find a weird work-arounds with add-hook and all that stuff
      #+begin_src elisp :tangle emacsconfig/python.el :padline no :noweb no-export
        (add-hook 'python-mode-hook (lambda ()
-                                     <<el-python-config>>
-                                     <<el-python-config-2>>))
+                                     <<el-python-config>>))
 
      #+end_src
      First we set an interpreter with nix, it comes with all the python autocompletion tools we need
-     #+begin_src elisp :tangle el-python-config
+     #+begin_src elisp :noweb-ref el-python-config
        (setq python-shell-interpreter
              (nix-executable-find
               (nix-env-from-packages "python" "(python3.withPackages (p: with p; [pygame virtualenvwrapper pip sqlite jedi flake8 yapf autopep8 black]))")
@@ -264,7 +263,7 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto
 
      #+end_src
      Then we introduce elpy with so that it can use all the tools immidiately without downloading them
-     #+begin_src elisp :tangle el-python-config-2
+     #+begin_src elisp :noweb-ref el-python-config
        (use-package elpy
          :config
          (elpy-enable)