[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-transclusion e6d7db6380: fix: reverting 252ec675; s
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-transclusion e6d7db6380: fix: reverting 252ec675; shouldn't remove the extra space |
Date: |
Thu, 6 Jan 2022 15:57:36 -0500 (EST) |
branch: externals/org-transclusion
commit e6d7db638043abf91df50aea226dee77e124e3f3
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>
fix: reverting 252ec675; shouldn't remove the extra space
Reverting this one:
commit 252ec6752a08fa40941dc9c40d3b48440a5c415a
fix:Remove extra space/line added to Org elements transcluded
Without the extra space (it's actually an extra point), a transclusion
continues
without a correct newline when another transclusion follows immediately
after
it.
---
org-transclusion.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/org-transclusion.el b/org-transclusion.el
index ad97f625d9..fcbdd9fda9 100644
--- a/org-transclusion.el
+++ b/org-transclusion.el
@@ -17,7 +17,7 @@
;; Author: Noboru Ota <me@nobiot.com>
;; Created: 10 October 2020
-;; Last modified: 04 January 2022
+;; Last modified: 06 January 2022
;; URL: https://github.com/nobiot/org-transclusion
;; Keywords: org-mode, transclusion, writing
@@ -1160,10 +1160,10 @@ etc.)."
;; each element in the normalized content. This adds an extra empty
;; line, which we would like to remove; hence content and src-end gets
;; -1 here.
- (list :src-content (substring (org-element-interpret-data obj) 0 -1)
+ (list :src-content (org-element-interpret-data obj)
:src-buf (current-buffer)
:src-beg (point-min)
- :src-end (1- (point-max)))))))
+ :src-end (point-max))))))
(defun org-transclusion-content-filter-org-exclude-elements (data)
"Exclude specific elements from DATA.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org-transclusion e6d7db6380: fix: reverting 252ec675; shouldn't remove the extra space,
ELPA Syncer <=