emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-transclusion 3eff991fbd 2/3: fix:add-all better mes


From: ELPA Syncer
Subject: [elpa] externals/org-transclusion 3eff991fbd 2/3: fix:add-all better message for success/"user-error"
Date: Sun, 26 Dec 2021 06:57:32 -0500 (EST)

branch: externals/org-transclusion
commit 3eff991fbd43c42aab64db6303ce4e50c08c7913
Author: Noboru Ota <me@nobiot.com>
Commit: Noboru Ota <me@nobiot.com>

    fix:add-all better message for success/"user-error"
---
 .gitignore          | 3 ++-
 org-transclusion.el | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore
index 69c2b4fac2..9339d6c8eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 test/
 refile/
-*.elc
\ No newline at end of file
+*.elc
+/docs/org-transclusion.org
diff --git a/org-transclusion.el b/org-transclusion.el
index 7a821471d3..c5ef94687d 100644
--- a/org-transclusion.el
+++ b/org-transclusion.el
@@ -494,7 +494,8 @@ the rest of the buffer unchanged."
             ;; Demoted-errors so that one error does not stop the whole process
             (with-demoted-errors
                 "Not transcluded. Continue to next: %S"
-              (org-transclusion-add)))))
+              (when (org-transclusion-add)
+                (message (format "Transcluded at %d %d" (point) 
(org-current-line))))))))
       (goto-char marker)
       (move-marker marker nil) ; point nowhere for GC
       t)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]