mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(apropos-calc-scores): Use apropos-pattern.
This commit is contained in:
parent
77f05e24e8
commit
347a20b867
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue