mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-20 19:24:20 +00:00
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:
parent
d299ae53dd
commit
2a752e4ce1
@ -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 "")))
|
||||
|
Loading…
Reference in New Issue
Block a user