branch: externals/org-transclusion
commit 7ab32c577edba39d75070b5c8f4cc30e698a8b9e
Author: Noboru Ota <[email protected]>
Commit: Noboru Ota <[email protected]>

    refac: remove org-transclusion-fix-common-misspelling
    
    This was a workaround when the cause of the infinite loop problem was not
    identified (#177). It has been fixed with commit f6fd666. This workaround 
can be
    safely removed (it had no effect).
---
 org-transclusion.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/org-transclusion.el b/org-transclusion.el
index 4fb783a4fa..e997ec9d96 100644
--- a/org-transclusion.el
+++ b/org-transclusion.el
@@ -493,7 +493,7 @@ does not support all the elements.
 
 \\{org-transclusion-map}"
   (interactive "P")
-  (when (org-transclusion-check-add))
+  (when (org-transclusion-check-add)
     ;; Turn on the minor mode to load extensions before staring to add.
     (unless org-transclusion-mode
       (let ((org-transclusion-add-all-on-activate nil))
@@ -1778,8 +1778,7 @@ Case 2. #+transclude inside another transclusion"
     (user-error
      "Cannot transclude in another transclusion at point %d, line %d"
      (point) (org-current-line)))
-   (t
-    t)))
+   (t t)))
 
 (defun org-transclusion-at-point (&optional point)
   "Return plist representing the transclusion at point.

Reply via email to