(locate-library): Doc fix. (Bug#2291)
authorEli Zaretskii <eliz@gnu.org>
Fri, 13 Feb 2009 15:19:06 +0000 (15:19 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 13 Feb 2009 15:19:06 +0000 (15:19 +0000)
lisp/ChangeLog
lisp/subr.el

index 7719012..95f8c59 100644 (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
index 42447a4..bf27605 100644 (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'