Do not evaluate Org source blocks with text modes by default

Nothing to evaluate here either.
This commit is contained in:
Daniel Borchmann 2024-10-12 20:40:22 +02:00
parent 78924c841e
commit 441db75ae2
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -1213,7 +1213,7 @@ accordingly."
(:eval . "never-export"))) (:eval . "never-export")))
:config (progn :config (progn
;; Let's disable evaluation of some text-only modes. ;; Let's disable evaluation of some text-only modes.
(dolist (mode '("json" "markdown" "yaml" "textile")) (dolist (mode '("json" "markdown" "yaml" "textile" "text"))
(let ((var-name (intern (format "org-babel-default-header-args:%s" mode)))) (let ((var-name (intern (format "org-babel-default-header-args:%s" mode))))
(if (boundp var-name) (if (boundp var-name)
(add-to-list var-name '(:eval . "never")) (add-to-list var-name '(:eval . "never"))