(find-library-name): Don't forget the empty suffix. Fix stale variable name.
This commit is contained in:
parent
df52e0e7ac
commit
4dbf594b9f
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ See the functions `find-function' and `find-variable'."
|
|||
(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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue