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

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

[elpa] externals/org-transclusion eb9e73d439 4/4: fix(make-from-link): l


From: ELPA Syncer
Subject: [elpa] externals/org-transclusion eb9e73d439 4/4: fix(make-from-link): limit the effect of previous commit
Date: Sat, 4 Mar 2023 08:58:11 -0500 (EST)

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

    fix(make-from-link): limit the effect of previous commit
    
    The reversal of auto-transclude behaviour in the previous commit would
    affect the way `digit-argument` behaves too. This would surprise the
    users if they use it.  Now the effect is limited only to
    `universal-argument`.
---
 org-transclusion.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-transclusion.el b/org-transclusion.el
index bb8dea01f8..e0ff4a8e75 100644
--- a/org-transclusion.el
+++ b/org-transclusion.el
@@ -363,7 +363,7 @@ transclusion keyword."
   (let* ((context (org-element-lineage
                    (org-element-context)'(link) t))
          (type (org-element-property :type context))
-         (auto-transclude-p (if (not arg) org-transclusion-mode
+         (auto-transclude-p (if (not (equal arg '(4))) org-transclusion-mode
                               ;; if `universal-argument' is passed,
                               ;; reverse nil/t when
                               (if org-transclusion-mode nil t))))



reply via email to

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