summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el
index b3e726ba27c..2690cdc9c04 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -744,7 +744,7 @@ It can also be nil, if the definition is not associated with any file."
(name (progn
(string-match " \\([^ ]+\\)>$" rep)
(match-string 1 rep))))
- (if (looking-at (format "(%s[ )]" name))
+ (if (looking-at (format "(%s[ )]" (regexp-quote name)))
(let ((start (point-marker)))
(goto-char (point-min))
(forward-paragraph)