From: Jonathan Leech-Pepin Date: Mon, 25 Feb 2013 15:28:04 +0000 (-0500) Subject: ox-texinfo.el: Add support for # in info links X-Git-Tag: release_8.0-pre~184 X-Git-Url: https://repo.or.cz/w/org-mode.git/commitdiff_plain/2a752e4ce1b2476c490957f6e289045c78606236 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 --- diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index 536c2ee3b..bc24694ed 100644 --- a/lisp/ox-texinfo.el +++ b/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 "")))