summaryrefslogtreecommitdiff
path: root/lisp/apropos.el
diff options
context:
space:
mode:
authorRomain Francoise <romain@orebokech.com>2005-11-10 19:45:03 +0000
committerRomain Francoise <romain@orebokech.com>2005-11-10 19:45:03 +0000
commitd345398e1efc45c1b851e30c1328876bab1218b1 (patch)
tree21e800f0a9c7ae9ef25f460966d8470f1a1366fb /lisp/apropos.el
parenta30b7cd530d62de90f67341aaa80c89866f45f67 (diff)
downloademacs-d345398e1efc45c1b851e30c1328876bab1218b1.tar.gz
(apropos-calc-scores): Use `apropos-pattern'.
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r--lisp/apropos.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el
index ab2e72d98ce..e7446c6fc6c 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -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)