# HG changeset patch # User Eli Zaretskii # Date 1234538097 0 # Node ID 5a441ce3d28d9e655007b82bf658ad72e03b2b66 # Parent 3e03f2f41ae52d5e32a42a6f1e69b4a41b6cca2f (locate-library): Doc fix. (Bug#2291) diff -r 3e03f2f41ae5 -r 5a441ce3d28d lisp/subr.el --- a/lisp/subr.el Fri Feb 13 15:14:33 2009 +0000 +++ b/lisp/subr.el Fri Feb 13 15:14:57 2009 +0000 @@ -1501,6 +1501,9 @@ (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'