瀏覽代碼

ox-texinfo.el: Add support for # in info links

* lisp/ox-texinfo.el (org-texinfo-link): Fixed info link exporting to
  recognize # as well as : when finding the info node.

Issue reported by Thomas S. Dye in
http://article.gmane.org/gmane.emacs.orgmode/66655
Jonathan Leech-Pepin 12 年之前
父節點
當前提交
2a752e4ce1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox-texinfo.el

+ 1 - 1
lisp/ox-texinfo.el

@@ -1197,7 +1197,7 @@ INFO is a plist holding contextual information.  See
 	     (if (not desc) (format "@ref{%s}" path)
 	       (format "@ref{%s,,%s}" path desc)))))))
      ((member type '("info"))
-      (let* ((info-path (split-string path ":"))
+      (let* ((info-path (split-string path "[:#]"))
 	     (info-manual (car info-path))
 	     (info-node (or (cadr info-path) "top"))
 	     (title (or desc "")))