branch: externals/org-transclusion commit 3eff991fbd43c42aab64db6303ce4e50c08c7913 Author: Noboru Ota <m...@nobiot.com> Commit: Noboru Ota <m...@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)))