Jelajahi Sumber

Fix bug with custom ASCII export

* lisp/org-ascii.el (org-export-as-ascii): Use the correct match group.
Carsten Dominik 14 tahun lalu
induk
melakukan
88c2893304
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)