summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/man.el b/lisp/man.el
index c9d175466f7..b428e4693b3 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -867,7 +867,7 @@ The following key bindings are currently in effect in the buffer:
(goto-char (point-min))
(let ((case-fold-search nil))
(while (re-search-forward Man-heading-regexp (point-max) t)
- (aput 'Man-sections-alist (Man-match-substring 1))
+ (aput 'Man-sections-alist (match-string 1))
(forward-line 1))))
(defsubst Man-build-references-alist ()