Commit 347a20b8 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(apropos-calc-scores): Use apropos-pattern.

parent 77f05e24
......@@ -341,7 +341,7 @@ Value is a list of offsets of the words into the string."
(if (setq i (string-match word str))
(setq scores (cons i scores))))
;; Return list of start and end position of regexp
(and (string-match apropos-regexp str)
(and (string-match apropos-pattern str)
(list (match-beginning 0) (match-end 0))))))
(defun apropos-score-str (str)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment