diff options
| author | Stefan Monnier | 2009-04-28 19:00:38 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-04-28 19:00:38 +0000 |
| commit | 0a56bf8c52c6f6448a0ee97cab75a0b6fafca5ca (patch) | |
| tree | b3cd5096fdbcd7666362ed584152f30f88244658 | |
| parent | 5bd662049710d8c7901d65b2e938ef8bd8da0bdd (diff) | |
| download | emacs-0a56bf8c52c6f6448a0ee97cab75a0b6fafca5ca.tar.gz emacs-0a56bf8c52c6f6448a0ee97cab75a0b6fafca5ca.zip | |
(load-library): Improve docstring.
| -rw-r--r-- | lisp/files.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/files.el b/lisp/files.el index 878f8a3e333..b14ccc2be5c 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -829,12 +829,11 @@ Return nil if COMMAND is not found anywhere in `exec-path'." | |||
| 829 | (locate-file command exec-path exec-suffixes 1)) | 829 | (locate-file command exec-path exec-suffixes 1)) |
| 830 | 830 | ||
| 831 | (defun load-library (library) | 831 | (defun load-library (library) |
| 832 | "Load the library named LIBRARY. | 832 | "Load the Emacs Lisp library named LIBRARY. |
| 833 | 833 | This is one of two interfaces (the other being `load-file') to the underlying | |
| 834 | LIBRARY should be a relative file name of the library, a string. | 834 | function `load'. The library actually loaded is searched for in `load-path' |
| 835 | It can omit the suffix (a.k.a. file-name extension). | 835 | with or without the `load-suffixes' (as well as `load-file-rep-suffixes'). |
| 836 | 836 | See Info node `(emacs)Lisp Libraries' for more details." | |
| 837 | This is an interface to the function `load'." | ||
| 838 | (interactive | 837 | (interactive |
| 839 | (list (completing-read "Load library: " | 838 | (list (completing-read "Load library: " |
| 840 | (apply-partially 'locate-file-completion-table | 839 | (apply-partially 'locate-file-completion-table |