Commit 43ce8949 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(find-library-name): Typo.

parent 4dbf594b
...@@ -125,7 +125,7 @@ See the functions `find-function' and `find-variable'." ...@@ -125,7 +125,7 @@ See the functions `find-function' and `find-variable'."
(setq library (replace-match "" t t library 1))) (setq library (replace-match "" t t library 1)))
(or (locate-file library (or (locate-file library
(or find-function-source-path load-path) (or find-function-source-path load-path)
(append (find-library-suffixes) "")) (append (find-library-suffixes) '("")))
(error "Can't find library %s" library))) (error "Can't find library %s" library)))
;;;###autoload ;;;###autoload
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment