0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-30 02:10:03 +00:00

org-ctags: Fix regexp to not break radio-target links

* org-ctags.el (org-ctags-tag-regexp): Add left angle-bracket to
excluded characters for tag text.

Link: https://orgmode.org/list/87frxylw33.fsf@martinmarshall.com

TINYCHANGE
This commit is contained in:
Martin Marshall 2024-02-11 12:36:46 -05:00 committed by Ihor Radchenko
parent 5cbaa87473
commit 38dd882685
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -149,7 +149,7 @@
(defvar org-ctags-enabled-p t (defvar org-ctags-enabled-p t
"Activate ctags support in org mode?") "Activate ctags support in org mode?")
(defvar org-ctags-tag-regexp "/<<([^>]+)>>/\\1/d,definition/" (defvar org-ctags-tag-regexp "/<<([^<>]+)>>/\\1/d,definition/"
"Regexp expression used by ctags external program. "Regexp expression used by ctags external program.
The regexp matches tag destinations in Org files. The regexp matches tag destinations in Org files.
Format is: /REGEXP/TAGNAME/FLAGS,TAGTYPE/ Format is: /REGEXP/TAGNAME/FLAGS,TAGTYPE/