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

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

[elpa] externals/org 9030cc394d: Merge branch 'bugfix'


From: ELPA Syncer
Subject: [elpa] externals/org 9030cc394d: Merge branch 'bugfix'
Date: Sun, 23 Apr 2023 10:58:05 -0400 (EDT)

branch: externals/org
commit 9030cc394dbd1b4d45fbcba08ccd4385d6b66285
Merge: 466a37d089 92f9135b3c
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    Merge branch 'bugfix'
---
 lisp/org.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index b60f2dc331..33471e8d96 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8457,7 +8457,10 @@ a link."
               (dolist (link (if (stringp links) (list links) links))
                 (search-forward link nil links-end)
                 (goto-char (match-beginning 0))
-                (org-open-at-point arg)))))))
+                 ;; When opening file link, current buffer may be
+                 ;; altered.
+                 (save-current-buffer
+                  (org-open-at-point arg))))))))
        ;; On a footnote reference or at definition's label.
        ((or (eq type 'footnote-reference)
            (and (eq type 'footnote-definition)



reply via email to

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