diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-06-24 19:55:11 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-06-24 19:55:11 +0200 |
commit | 7c14efd3e966c19bb187fda04eabecfe3e56ab94 (patch) | |
tree | 979cfe7e98ea1b93b06f1b7fb3e1d9dbf2f10ff5 | |
parent | 1f9e1cce6299329c5a1d657cffccbf627cdd416b (diff) | |
download | org-mode-7c14efd3e966c19bb187fda04eabecfe3e56ab94.tar.gz |
org-info: Fix typo
* lisp/org-info.el (org-info-follow-link): Fix typo in regexp.
-rw-r--r-- | lisp/org-info.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-info.el b/lisp/org-info.el index cc75e10..5a6c690 100644 --- a/lisp/org-info.el +++ b/lisp/org-info.el @@ -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"))) |