Merge branch 'maint'
This commit is contained in:
commit
524a6102e5
|
@ -8929,7 +8929,10 @@ It also looks at the text of the entry itself."
|
||||||
(setq trg (and (string-match org-link-bracket-re l)
|
(setq trg (and (string-match org-link-bracket-re l)
|
||||||
(match-string 1 l)))
|
(match-string 1 l)))
|
||||||
(if (or (not trg) (string-match org-link-any-re trg))
|
(if (or (not trg) (string-match org-link-any-re trg))
|
||||||
(org-with-wide-buffer
|
;; Don't use `org-with-wide-buffer' here as
|
||||||
|
;; opening the link may result in moving the point
|
||||||
|
(save-restriction
|
||||||
|
(widen)
|
||||||
(goto-char marker)
|
(goto-char marker)
|
||||||
(when (search-forward l nil lkend)
|
(when (search-forward l nil lkend)
|
||||||
(goto-char (match-beginning 0))
|
(goto-char (match-beginning 0))
|
||||||
|
|
Loading…
Reference in New Issue