mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 12:32:52 +00:00
Merge branch 'bugfix'
This commit is contained in:
commit
9030cc394d
|
@ -8457,7 +8457,10 @@ a link."
|
||||||
(dolist (link (if (stringp links) (list links) links))
|
(dolist (link (if (stringp links) (list links) links))
|
||||||
(search-forward link nil links-end)
|
(search-forward link nil links-end)
|
||||||
(goto-char (match-beginning 0))
|
(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.
|
;; On a footnote reference or at definition's label.
|
||||||
((or (eq type 'footnote-reference)
|
((or (eq type 'footnote-reference)
|
||||||
(and (eq type 'footnote-definition)
|
(and (eq type 'footnote-definition)
|
||||||
|
|
Loading…
Reference in a new issue