Mercurial > emacs
changeset 102010:5a441ce3d28d
(locate-library): Doc fix. (Bug#2291)
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 13 Feb 2009 15:14:57 +0000 |
parents | 3e03f2f41ae5 |
children | 1f674ca9661d |
files | lisp/subr.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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'