浏览代码

Bugfix: don't exclude parentheses from org-plain-link-re.

Bastien Guerry 15 年之前
父节点
当前提交
c80e212d57
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 5 0
      lisp/ChangeLog
  2. 1 1
      lisp/org.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2009-07-31  Bastien Guerry  <bzg@altern.org>
+
+	* org.el (org-make-link-regexps): Don't exclude parentheses from
+	`org-plain-link-re'
+
 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
 
 	* org-clock.el (org-clock-in): Bugfix: recognize timestamps with

+ 1 - 1
lisp/org.el

@@ -4060,7 +4060,7 @@ This should be called after the variable `org-link-types' has changed."
 	org-plain-link-re
 	(concat
 	 "\\<\\(" (mapconcat 'identity org-link-types "\\|") "\\):"
-	 "\\([^]\t\n\r<>() ]+[^]\t\n\r<>,.;() ]\\)")
+	 "\\([^]\t\n\r<> ]+[^]\t\n\r<>,.; ]\\)")
 	org-bracket-link-regexp
 	"\\[\\[\\([^][]+\\)\\]\\(\\[\\([^][]+\\)\\]\\)?\\]"
 	org-bracket-link-analytic-regexp