config/literate: fix org-version errors

This commit is contained in:
Henrik Lissner 2019-07-23 17:56:37 +02:00
parent dc9766ca37
commit 8931718e8a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -26,7 +26,13 @@ byte-compiled from.")
;; here would load all of :lang org (very expensive!). ;; here would load all of :lang org (very expensive!).
(zerop (call-process (zerop (call-process
"emacs" nil nil nil "emacs" nil nil nil
"-q" "--batch" "-l" "ob-tangle" "--eval" "-q" "--batch"
;; HACK See lang/org/init.el on why this is necessary
"--eval"
(prin1-to-string '(fset 'org-release #'ignore))
"--eval"
(prin1-to-string '(fset 'org-git-release #'ignore))
"-l" "ob-tangle" "--eval"
(format "(org-babel-tangle-file %S %S \"emacs-lisp\")" (format "(org-babel-tangle-file %S %S \"emacs-lisp\")"
org dest)))) org dest))))
;; Write the cache file to serve as our mtime cache ;; Write the cache file to serve as our mtime cache