Fix org-activate-links
* lisp/org.el (org-activate-links): Set the match group number
back. See commit d07d8ff4
for the number switch.
This commit is contained in:
parent
23113feb9a
commit
1fd07c1eeb
|
@ -5151,8 +5151,8 @@ This includes angle, plain, and bracket links."
|
|||
(while (re-search-forward org-link-any-re limit t)
|
||||
(let* ((start (match-beginning 0))
|
||||
(end (match-end 0))
|
||||
(visible-start (or (match-beginning 4) (match-beginning 2)))
|
||||
(visible-end (or (match-end 4) (match-end 2)))
|
||||
(visible-start (or (match-beginning 3) (match-beginning 2)))
|
||||
(visible-end (or (match-end 3) (match-end 2)))
|
||||
(style (cond ((eq ?< (char-after start)) 'angle)
|
||||
((eq ?\[ (char-after (1+ start))) 'bracket)
|
||||
(t 'plain))))
|
||||
|
|
Loading…
Reference in New Issue