diff options
| author | Stefan Monnier | 2002-09-12 21:48:20 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2002-09-12 21:48:20 +0000 |
| commit | 4dbf594b9ff464fbf64b46120d19fb064db14753 (patch) | |
| tree | 01fe85560ec1ce25a1c85a2ca1867bf5eb8fb28d | |
| parent | df52e0e7ac71f817373f40f0a5fecf933278b51c (diff) | |
| download | emacs-4dbf594b9ff464fbf64b46120d19fb064db14753.tar.gz emacs-4dbf594b9ff464fbf64b46120d19fb064db14753.zip | |
(find-library-name): Don't forget the empty suffix. Fix stale variable name.
| -rw-r--r-- | lisp/emacs-lisp/find-func.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el index 40016cec928..6186577079e 100644 --- a/lisp/emacs-lisp/find-func.el +++ b/lisp/emacs-lisp/find-func.el | |||
| @@ -125,8 +125,8 @@ See the functions `find-function' and `find-variable'." | |||
| 125 | (setq library (replace-match "" t t library 1))) | 125 | (setq library (replace-match "" t t library 1))) |
| 126 | (or (locate-file library | 126 | (or (locate-file library |
| 127 | (or find-function-source-path load-path) | 127 | (or find-function-source-path load-path) |
| 128 | (find-library-suffixes)) | 128 | (append (find-library-suffixes) "")) |
| 129 | (error "Can't find library %s" file))) | 129 | (error "Can't find library %s" library))) |
| 130 | 130 | ||
| 131 | ;;;###autoload | 131 | ;;;###autoload |
| 132 | (defun find-library (library) | 132 | (defun find-library (library) |