diff options
| author | Romain Francoise | 2005-11-10 19:45:03 +0000 |
|---|---|---|
| committer | Romain Francoise | 2005-11-10 19:45:03 +0000 |
| commit | 7127d508b457973822336777443d7f34a69d3cd9 (patch) | |
| tree | 2e4ede9eec7f9bfa66bce18564bc1a0a5c2febcf | |
| parent | a3caa4de72612c7172f7849f0c5e02f5c24fb6f7 (diff) | |
| download | emacs-7127d508b457973822336777443d7f34a69d3cd9.tar.gz emacs-7127d508b457973822336777443d7f34a69d3cd9.zip | |
(apropos-calc-scores): Use `apropos-pattern'.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/apropos.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f8c1d4d7da7..4334eaf7cc6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-11-10 Romain Francoise <romain@orebokech.com> | ||
| 2 | |||
| 3 | * apropos.el (apropos-calc-scores): Use `apropos-pattern'. | ||
| 4 | |||
| 1 | 2005-11-11 Nick Roberts <nickrob@snap.net.nz> | 5 | 2005-11-11 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 6 | ||
| 3 | * progmodes/gud.el (gud-menu-map): Move parentheses. | 7 | * progmodes/gud.el (gud-menu-map): Move parentheses. |
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." | |||
| 308 | (if (setq i (string-match word str)) | 308 | (if (setq i (string-match word str)) |
| 309 | (setq scores (cons i scores)))) | 309 | (setq scores (cons i scores)))) |
| 310 | ;; Return list of start and end position of regexp | 310 | ;; Return list of start and end position of regexp |
| 311 | (string-match apropos-regexp str) | 311 | (string-match apropos-pattern str) |
| 312 | (list (match-beginning 0) (match-end 0))))) | 312 | (list (match-beginning 0) (match-end 0))))) |
| 313 | 313 | ||
| 314 | (defun apropos-score-str (str) | 314 | (defun apropos-score-str (str) |