浏览代码

Fix bug with custom ASCII export

* lisp/org-ascii.el (org-export-as-ascii): Use the correct match group.
Carsten Dominik 14 年之前
父节点
当前提交
88c2893304
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-ascii.el

+ 1 - 1
lisp/org-ascii.el

@@ -434,7 +434,7 @@ publishing directory."
       (while (string-match org-bracket-link-analytic-regexp++ line)
 	(setq path (match-string 3 line)
 	      link (concat (match-string 1 line) path)
-	      type (match-string 1 line)
+	      type (match-string 2 line)
 	      desc0 (match-string 5 line)
 	      desc (or desc0 link))
 	(if (and (> (length link) 8)