Mercurial > emacs
changeset 103094:64ac89a8b9a8
(load-library): Improve docstring.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 28 Apr 2009 19:00:38 +0000 |
parents | e665c0727d1e |
children | 65cc22e2c624 |
files | lisp/files.el |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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