[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org f3de4c3e04: org-babel-tangle-collect-blocks: Ignore
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org f3de4c3e04: org-babel-tangle-collect-blocks: Ignore src blocks without language |
Date: |
Thu, 12 Oct 2023 12:58:55 -0400 (EDT) |
branch: externals/org
commit f3de4c3e041e0ea825b5b512dc0db37c78b7909e
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
org-babel-tangle-collect-blocks: Ignore src blocks without language
* lisp/ob-tangle.el (org-babel-tangle-collect-blocks): Skip src blocks
that do not specify lang rather than erring.
Reported-by: Andrea <andrea-dev@hotmail.com>
Link:
https://orgmode.org/list/AS8P193MB241369D9F0701F57E293429288D3A@AS8P193MB2413.EURP193.PROD.OUTLOOK.COM
---
lisp/ob-tangle.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el
index 4566e03ad6..b30fd92746 100644
--- a/lisp/ob-tangle.el
+++ b/lisp/ob-tangle.el
@@ -475,6 +475,7 @@ code blocks by target file."
(src-lang (nth 0 info))
(src-tfile (cdr (assq :tangle (nth 2 info)))))
(unless (or (string= src-tfile "no")
+ (not src-lang) ;; src block without lang
(and tangle-file (not (equal tangle-file src-tfile)))
(and lang-re (not (string-match-p lang-re src-lang))))
;; Add the spec for this block to blocks under its tangled
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org f3de4c3e04: org-babel-tangle-collect-blocks: Ignore src blocks without language,
ELPA Syncer <=