aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/apropos.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el
index 5f2ed106e0e..5eda7567ef0 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -341,7 +341,7 @@ Value is a list of offsets of the words into the string."
341 (if (setq i (string-match word str)) 341 (if (setq i (string-match word str))
342 (setq scores (cons i scores)))) 342 (setq scores (cons i scores))))
343 ;; Return list of start and end position of regexp 343 ;; Return list of start and end position of regexp
344 (and (string-match apropos-regexp str) 344 (and (string-match apropos-pattern str)
345 (list (match-beginning 0) (match-end 0)))))) 345 (list (match-beginning 0) (match-end 0))))))
346 346
347(defun apropos-score-str (str) 347(defun apropos-score-str (str)