1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

(locate-library): Doc fix.

This commit is contained in:
Richard M. Stallman 1996-09-02 01:05:22 +00:00
parent ff4599fdb5
commit 2747503c0a

View File

@ -667,11 +667,11 @@ Argument is a command definition, usually a symbol with a function definition."
nil)
(defun locate-library (library &optional nosuffix)
"Show the full path name of Emacs library LIBRARY.
"Show the precise file name of Emacs library LIBRARY.
This command searches the directories in `load-path' like `M-x load-library'
to find the file that `M-x load-library RET LIBRARY RET' would load.
Optional second arg NOSUFFIX non-nil means don't add suffixes `.elc' or `.el'
to the specified name LIBRARY (a la calling `load' instead of `load-library')."
to the specified name LIBRARY."
(interactive "sLocate library: ")
(catch 'answer
(mapcar