From: Eli Zaretskii Date: Fri, 13 Feb 2009 15:19:06 +0000 (+0000) Subject: (locate-library): Doc fix. (Bug#2291) X-Git-Tag: emacs-pretest-23.0.91~232 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c9ae6ddd1e059435fa315d4bca72d28c85eb458c;p=emacs.git (locate-library): Doc fix. (Bug#2291) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 77190129dad..95f8c59e01b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2009-02-13 Eli Zaretskii + + * files.el (load-library): Doc fix. + + * subr.el (locate-library): Doc fix. (Bug#2291) + 2009-02-13 Alan Mackenzie * progmodes/cc-cmds.el (c-defun-name): Widen, to allow it to work diff --git a/lisp/subr.el b/lisp/subr.el index 42447a4c28b..bf27605b02c 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -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'