From 7c14efd3e966c19bb187fda04eabecfe3e56ab94 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 24 Jun 2018 19:55:11 +0200 Subject: [PATCH] org-info: Fix typo * lisp/org-info.el (org-info-follow-link): Fix typo in regexp. --- lisp/org-info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-info.el b/lisp/org-info.el index cc75e1006..5a6c69097 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")))