0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 18:36:26 +00:00

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

View file

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