summaryrefslogtreecommitdiff
path: root/lisp/apropos.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-11-16 22:11:47 +0000
committerRichard M. Stallman <rms@gnu.org>2005-11-16 22:11:47 +0000
commit347a20b867cfdacf26552c4771348aab45d5770f (patch)
tree7fc7a5d3e85fe7b91864631a30cd741612d57d85 /lisp/apropos.el
parent77f05e24e88e65102b32d0c881fbb633ef64f1c8 (diff)
downloademacs-347a20b867cfdacf26552c4771348aab45d5770f.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 5f2ed106e0e..5eda7567ef0 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -341,7 +341,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
- (and (string-match apropos-regexp str)
+ (and (string-match apropos-pattern str)
(list (match-beginning 0) (match-end 0))))))
(defun apropos-score-str (str)