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

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

[elpa] externals/org-transclusion 87d28aad02 1/3: intrnl: Remove unneces


From: ELPA Syncer
Subject: [elpa] externals/org-transclusion 87d28aad02 1/3: intrnl: Remove unnecessary use of with-silent-modifications
Date: Tue, 28 Dec 2021 13:57:41 -0500 (EST)

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

    intrnl: Remove unnecessary use of with-silent-modifications
    
    WIP to fix org-element--cache issue
---
 org-transclusion.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/org-transclusion.el b/org-transclusion.el
index 89ea7ba3d3..fe384890f2 100644
--- a/org-transclusion.el
+++ b/org-transclusion.el
@@ -17,7 +17,7 @@
 
 ;; Author:        Noboru Ota <me@nobiot.com>
 ;; Created:       10 October 2020
-;; Last modified: 26 December 2021
+;; Last modified: 28 December 2021
 
 ;; URL: https://github.com/nobiot/org-transclusion
 ;; Keywords: org-mode, transclusion, writing
@@ -574,9 +574,8 @@ the rest of the buffer unchanged."
       (goto-char (point-min))
       (while (setq match (text-property-search-forward 'org-transclusion-type))
         (goto-char (prop-match-beginning match))
-        (org-transclusion-with-silent-modifications
-          (setq point (org-transclusion-remove))
-          (when point (push point list))))
+        (setq point (org-transclusion-remove))
+        (when point (push point list)))
       (goto-char marker)
       (move-marker marker nil) ; point nowhere for GC
       list)))



reply via email to

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