summaryrefslogtreecommitdiff
path: root/lisp/info-look.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/info-look.el')
-rw-r--r--lisp/info-look.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/info-look.el b/lisp/info-look.el
index 3918eb00eee..5097f2f5fdc 100644
--- a/lisp/info-look.el
+++ b/lisp/info-look.el
@@ -583,7 +583,7 @@ Return nil if there is nothing appropriate in the buffer near point."
(point) 'face nil (line-end-position)))
(> end beg))
(subst-char-in-string
- ?\ ?\- (buffer-substring-no-properties beg end)))
+ ?\s ?\- (buffer-substring-no-properties beg end)))
((or (and (looking-at (concat "[" significant-chars "]"))
(save-excursion
(skip-chars-backward significant-chars)