Fix bug with radio targets.
The variable containing the regexp for radio target matches was not buffer-local, causing all sorts of problems.
This commit is contained in:
parent
db782da26b
commit
4298df987b
|
@ -1,3 +1,7 @@
|
||||||
|
2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
|
* org.el (org-target-link-regexp): Make buffer-local.
|
||||||
|
|
||||||
2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
|
2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
* org-faces.el (org-set-tag-faces): New function.
|
* org-faces.el (org-set-tag-faces): New function.
|
||||||
|
|
|
@ -3721,6 +3721,7 @@ will be prompted for."
|
||||||
|
|
||||||
(defvar org-target-link-regexp nil
|
(defvar org-target-link-regexp nil
|
||||||
"Regular expression matching radio targets in plain text.")
|
"Regular expression matching radio targets in plain text.")
|
||||||
|
(make-variable-buffer-local 'org-target-link-regexp)
|
||||||
(defvar org-target-regexp "<<\\([^<>\n\r]+\\)>>"
|
(defvar org-target-regexp "<<\\([^<>\n\r]+\\)>>"
|
||||||
"Regular expression matching a link target.")
|
"Regular expression matching a link target.")
|
||||||
(defvar org-radio-target-regexp "<<<\\([^<>\n\r]+\\)>>>"
|
(defvar org-radio-target-regexp "<<<\\([^<>\n\r]+\\)>>>"
|
||||||
|
|
Loading…
Reference in New Issue