summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-06-24 19:55:11 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-06-24 19:55:11 +0200
commit7c14efd3e966c19bb187fda04eabecfe3e56ab94 (patch)
tree979cfe7e98ea1b93b06f1b7fb3e1d9dbf2f10ff5
parent1f9e1cce6299329c5a1d657cffccbf627cdd416b (diff)
downloadorg-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.el2
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")))