Browse Source

removed async tangling, didn't work

master
Marc Pohling 1 year ago
parent
commit
2f1efeb5f7
1 changed files with 8 additions and 7 deletions
  1. 15
      config.org

15
config.org

@ -47,13 +47,14 @@ asynchronously."
(lambda () (lambda ()
(or (not (process-live-p (get-process "tangle-process"))) (or (not (process-live-p (get-process "tangle-process")))
(y-or-n-p "\"me/tangle-config\" is running; kill it? ")))) (y-or-n-p "\"me/tangle-config\" is running; kill it? "))))
;; tangle config asynchronously
;; async only on linux because bash is called
(if *sys/linux*
(me/async-process
(format "emacs %s --batch --eval '(org-babel-tangle nil \"%s\")'" config-org config-el)
"tangle-process")
(format "emacs %s --batch --eval '(org-babel-tangle nil \"%s\")'" config-org config-el))
; ;; tangle config asynchronously ;; for now not async anymore
; ;; async only on linux because bash is called
; (if *sys/linux*
; (me/async-process
; (format "emacs %s --batch --eval '(org-babel-tangle nil \"%s\")'" config-org config-el)
; "tangle-process")
; (format "emacs %s --batch --eval '(org-babel-tangle nil \"%s\")'" config-org config-el))
(org-babel-tangle-file config-org config-el)
(message "reloading user-init-file") (message "reloading user-init-file")
(load-file config-el)) (load-file config-el))

Loading…
Cancel
Save