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

    style: No need cl-macs (no cl-loop used in the end)
---
 org-transclusion.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/org-transclusion.el b/org-transclusion.el
index 459cfed850..6ad1b74d5c 100644
--- a/org-transclusion.el
+++ b/org-transclusion.el
@@ -42,7 +42,6 @@
 (require 'text-clone)
 (require 'text-property-search)
 (require 'seq)
-(require 'cl-macs) ; for cl-loop
 
 ;;;; Customization
 
@@ -1835,7 +1834,7 @@ ensure the settings revert to the user's setting prior to
   "Promote or demote transcluded subtree.
 When DEMOTE is non-nil, demote."
   (unless (org-transclusion-within-transclusion-p)
-    (user-error "Not in a transcluded headline."))
+    (user-error "Not in a transcluded headline"))
   (let* ((inhibit-read-only t)
          (beg (car (plist-get (org-transclusion-at-point) :location)))
          (pos (point)))

Reply via email to