Rudolf Adamkovič writes:
> Ihor Radchenko writes:
>
>> The attached patch makes Org throw an error in such scenario.
>
> This is a great feature (and it deserves a test, given it protects from
> data loss). For what is worth, I remember making this error at least
> twice in the past year. (Git
Ihor Radchenko writes:
> The attached patch makes Org throw an error in such scenario.
This is a great feature (and it deserves a test, given it protects from
data loss). For what is worth, I remember making this error at least
twice in the past year. (Git saved me in both cases, fortunately.)
>From e2b0913930119737bac69d17738d0ebb44f999f7 Mon Sep 17 00:00:00 2001
Message-ID:
From: Ihor Radchenko
Date: Mon, 8 Jan 2024 16:58:24 +0100
Subject: [PATCH] org-babel-tangle: Do not allow tangling into self
* lisp/ob-tangle.el (org-babel-tangle): Throw an error when trying to
tangle into the org file we tan