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
This commit is contained in:
Jonathan Leech-Pepin 2013-02-25 10:28:04 -05:00
parent d299ae53dd
commit 2a752e4ce1

View file

@ -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 "")))