emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp files.el


From: Stefan Monnier
Subject: [Emacs-diffs] emacs/lisp files.el
Date: Tue, 28 Apr 2009 19:00:45 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        09/04/28 19:00:45

Modified files:
        lisp           : files.el 

Log message:
        (load-library): Improve docstring.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/files.el?cvsroot=emacs&r1=1.1045&r2=1.1046

Patches:
Index: files.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/files.el,v
retrieving revision 1.1045
retrieving revision 1.1046
diff -u -b -r1.1045 -r1.1046
--- files.el    11 Apr 2009 15:26:30 -0000      1.1045
+++ files.el    28 Apr 2009 19:00:38 -0000      1.1046
@@ -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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]