changeset 66803:d94cbfddc07a

(apropos-calc-scores): Use `apropos-pattern'.
author Romain Francoise <romain@orebokech.com>
date Thu, 10 Nov 2005 19:45:03 +0000
parents b486268fac00
children 2b7db6f7700f
files lisp/ChangeLog lisp/apropos.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <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.
--- 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)