changeset 66939:1a91d2217086

(apropos-calc-scores): Use apropos-pattern.
author Richard M. Stallman <rms@gnu.org>
date Wed, 16 Nov 2005 22:11:47 +0000
parents bb91429003e2
children 504ff72dadfe
files lisp/apropos.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/apropos.el	Wed Nov 16 19:05:38 2005 +0000
+++ b/lisp/apropos.el	Wed Nov 16 22:11:47 2005 +0000
@@ -341,7 +341,7 @@
 	  (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)