summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-09-30 21:55:25 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-09-30 21:55:25 +0200
commit88c28933045f57bf5e4889f42e6cf44ae6884012 (patch)
tree7a5cf2e940dcf9c3f1375e436450ba5053604405
parent3b1c72ae9ffa7e2d1fcbf1470bb1abcde170d02a (diff)
downloadorg-mode-88c28933045f57bf5e4889f42e6cf44ae6884012.tar.gz
Fix bug with custom ASCII export
* lisp/org-ascii.el (org-export-as-ascii): Use the correct match group.
-rw-r--r--lisp/org-ascii.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-ascii.el b/lisp/org-ascii.el
index 9978708..25e9d27 100644
--- a/lisp/org-ascii.el
+++ b/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)