[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org a18ebc7893 3/3: Revert "Avoid creating ID property
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org a18ebc7893 3/3: Revert "Avoid creating ID property during tangling" |
Date: |
Tue, 8 Aug 2023 09:58:16 -0400 (EDT) |
branch: externals/org
commit a18ebc78934a1efa2adec3ebc88d8e155d5b3301
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
Revert "Avoid creating ID property during tangling"
This reverts commit 0b4e357d6208c9531118711e8dc28762ff69b20f.
The original bug report actually does not need special handling
because (1) some people actually want the "fixed" behavior with IDs
being created; (2) people who don't can set org-id-link-to-org-use-id
to 'create-if-interactive.
See https://orgmode.org/list/87v8e3p5fv.fsf@localhost
---
lisp/ob-tangle.el | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el
index 670a3dfa72..4566e03ad6 100644
--- a/lisp/ob-tangle.el
+++ b/lisp/ob-tangle.el
@@ -496,12 +496,7 @@ code blocks by target file."
The PARAMS are the 3rd element of the info for the same src block."
(unless (string= "no" (cdr (assq :comments params)))
(save-match-data
- (let* (;; The created link is transient. Using ID is not necessary,
- ;; but could have side-effects if used. An ID property may
- ;; be added to existing entries thus creating unexpected file
- ;; modifications.
- (org-id-link-to-org-use-id nil)
- (l (org-no-properties
+ (let* ((l (org-no-properties
(cl-letf (((symbol-function 'org-store-link-functions)
(lambda () nil)))
(org-store-link nil))))