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

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

[elpa] externals/org-transclusion 20cfc81a56: reverse: open file as rawf


From: ELPA Syncer
Subject: [elpa] externals/org-transclusion 20cfc81a56: reverse: open file as rawfile
Date: Mon, 5 Sep 2022 11:58:03 -0400 (EDT)

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

    reverse: open file as rawfile
    
    You end up getting a Y/N confirmation, which is not needed.
---
 org-transclusion-src-lines.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org-transclusion-src-lines.el b/org-transclusion-src-lines.el
index 9587b996a7..b37b1c826c 100644
--- a/org-transclusion-src-lines.el
+++ b/org-transclusion-src-lines.el
@@ -17,7 +17,7 @@
 
 ;; Author: Noboru Ota <me@nobiot.com>
 ;; Created: 24 May 2021
-;; Last modified: 10 July 2022
+;; Last modified: 05 September 2022
 
 ;;; Commentary:
 ;;  This is an extension to `org-transclusion'.  When active, it adds features
@@ -110,7 +110,7 @@ it means from line 10 to the end of file."
          (end-search-op (plist-get plist :end)))
     (if (not (string= type "id")) (setq buf (find-file-noselect path))
       (let ((filename-pos (org-id-find path)))
-        (setq buf (find-file-noselect nil 'RAWFILE (car filename-pos)))
+        (setq buf (find-file-noselect (car filename-pos)))
         (setq entry-pos (cdr filename-pos))))
     (when buf
       (with-current-buffer buf



reply via email to

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