changeset 47446:8bd5dd6cc381

(find-library-name): Don't forget the empty suffix. Fix stale variable name.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 12 Sep 2002 21:48:20 +0000
parents d54b5b9a2b77
children 85021da80289
files lisp/emacs-lisp/find-func.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/find-func.el	Thu Sep 12 21:44:23 2002 +0000
+++ b/lisp/emacs-lisp/find-func.el	Thu Sep 12 21:48:20 2002 +0000
@@ -125,8 +125,8 @@
       (setq library (replace-match "" t t library 1)))
   (or (locate-file library
 		   (or find-function-source-path load-path)
-		   (find-library-suffixes))
-      (error "Can't find library %s" file)))
+		   (append (find-library-suffixes) ""))
+      (error "Can't find library %s" library)))
 
 ;;;###autoload
 (defun find-library (library)