org-info: Fix typo

* lisp/org-info.el (org-info-follow-link): Fix typo in regexp.
This commit is contained in:
Nicolas Goaziou 2018-06-24 19:55:11 +02:00
parent 1f9e1cce62
commit 7c14efd3e9
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@
(defun org-info-follow-link (name) (defun org-info-follow-link (name)
"Follow an Info file and node link specified by NAME." "Follow an Info file and node link specified by NAME."
(if (or (string-match "\\(.*\\)\\(:?#\\|::\\)\\(.*\\)" name) (if (or (string-match "\\(.*\\)\\(?:#\\|::\\)\\(.*\\)" name)
(string-match "\\(.*\\)" name)) (string-match "\\(.*\\)" name))
(let ((filename (match-string 1 name)) (let ((filename (match-string 1 name))
(nodename-or-index (or (match-string 2 name) "Top"))) (nodename-or-index (or (match-string 2 name) "Top")))