diff options
author | Romain Francoise <romain@orebokech.com> | 2005-11-10 19:45:03 +0000 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2005-11-10 19:45:03 +0000 |
commit | d345398e1efc45c1b851e30c1328876bab1218b1 (patch) | |
tree | 21e800f0a9c7ae9ef25f460966d8470f1a1366fb /lisp/apropos.el | |
parent | a30b7cd530d62de90f67341aaa80c89866f45f67 (diff) | |
download | emacs-d345398e1efc45c1b851e30c1328876bab1218b1.tar.gz |
(apropos-calc-scores): Use `apropos-pattern'.
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r-- | lisp/apropos.el | 2 |
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) |