(locate-library): Doc fix. (Bug#2291)

This commit is contained in:
Eli Zaretskii 2009-02-13 15:19:06 +00:00
parent e005ff0da1
commit c9ae6ddd1e
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2009-02-13 Eli Zaretskii <eliz@gnu.org>
* files.el (load-library): Doc fix.
* subr.el (locate-library): Doc fix. (Bug#2291)
2009-02-13 Alan Mackenzie <acm@muc.de>
* progmodes/cc-cmds.el (c-defun-name): Widen, to allow it to work

View file

@ -1501,6 +1501,9 @@ definition, variable definition, or face definition only."
(defun locate-library (library &optional nosuffix path interactive-call)
"Show the precise file name of Emacs library LIBRARY.
LIBRARY should be a relative file name of the library, a string.
It can omit the suffix (a.k.a. file-name extension) if NOSUFFIX is
nil (which is the default, see below).
This command searches the directories in `load-path' like `\\[load-library]'
to find the file that `\\[load-library] RET LIBRARY RET' would load.
Optional second arg NOSUFFIX non-nil means don't add suffixes `load-suffixes'