# HG changeset patch # User Romain Francoise # Date 1131651903 0 # Node ID d94cbfddc07af8f3abf3e3c27d021835e1599958 # Parent b486268fac0016ce58803519029b18655f237948 (apropos-calc-scores): Use `apropos-pattern'. diff -r b486268fac00 -r d94cbfddc07a lisp/ChangeLog --- a/lisp/ChangeLog Thu Nov 10 19:25:59 2005 +0000 +++ b/lisp/ChangeLog Thu Nov 10 19:45:03 2005 +0000 @@ -1,3 +1,7 @@ +2005-11-10 Romain Francoise + + * apropos.el (apropos-calc-scores): Use `apropos-pattern'. + 2005-11-11 Nick Roberts * progmodes/gud.el (gud-menu-map): Move parentheses. diff -r b486268fac00 -r d94cbfddc07a lisp/apropos.el --- a/lisp/apropos.el Thu Nov 10 19:25:59 2005 +0000 +++ b/lisp/apropos.el Thu Nov 10 19:45:03 2005 +0000 @@ -308,7 +308,7 @@ (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)