# HG changeset patch # User Stefan Monnier # Date 1240945238 0 # Node ID 64ac89a8b9a89af35690304079d687b8db767e8f # Parent e665c0727d1ebf810cfeea20f47bd5c9401f26f8 (load-library): Improve docstring. diff -r e665c0727d1e -r 64ac89a8b9a8 lisp/files.el --- a/lisp/files.el Tue Apr 28 18:59:18 2009 +0000 +++ b/lisp/files.el Tue Apr 28 19:00:38 2009 +0000 @@ -829,12 +829,11 @@ (locate-file command exec-path exec-suffixes 1)) (defun load-library (library) - "Load the library named LIBRARY. - -LIBRARY should be a relative file name of the library, a string. -It can omit the suffix (a.k.a. file-name extension). - -This is an interface to the function `load'." + "Load the Emacs Lisp library named LIBRARY. +This is one of two interfaces (the other being `load-file') to the underlying +function `load'. The library actually loaded is searched for in `load-path' +with or without the `load-suffixes' (as well as `load-file-rep-suffixes'). +See Info node `(emacs)Lisp Libraries' for more details." (interactive (list (completing-read "Load library: " (apply-partially 'locate-file-completion-table