mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(apropos-calc-scores): Use `apropos-pattern'.
This commit is contained in:
parent
a3caa4de72
commit
7127d508b4
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2005-11-10 Romain Francoise <romain@orebokech.com>
|
||||
|
||||
* apropos.el (apropos-calc-scores): Use `apropos-pattern'.
|
||||
|
||||
2005-11-11 Nick Roberts <nickrob@snap.net.nz>
|
||||
|
||||
* progmodes/gud.el (gud-menu-map): Move parentheses.
|
||||
|
|
|
|||
|
|
@ -308,7 +308,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
|
||||
(string-match apropos-regexp str)
|
||||
(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