From: Eli Zaretskii Date: Sat, 2 Jun 2001 06:12:18 +0000 (+0000) Subject: (Fload): Document that the argument is run via substitute-in-file-name. X-Git-Tag: emacs-pretest-21.0.104~322 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b75f8eab5535b58761a3b2a06c6fcf8765fcfa53;p=emacs.git (Fload): Document that the argument is run via substitute-in-file-name. --- diff --git a/src/ChangeLog b/src/ChangeLog index a842e42d810..7a369bd581e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-06-02 Eli Zaretskii + + * lread.c (Fload): Document that the argument is run via + substitute-in-file-name. + 2001-05-31 Gerd Moellmann * Makefile.in (bootstrap-doc): New target. diff --git a/src/lread.c b/src/lread.c index 8a357b7af47..735d9000fae 100644 --- a/src/lread.c +++ b/src/lread.c @@ -609,7 +609,8 @@ record_load_unwind (old) DEFUN ("load", Fload, Sload, 1, 5, 0, "Execute a file of Lisp code named FILE.\n\ First try FILE with `.elc' appended, then try with `.el',\n\ - then try FILE unmodified.\n\ + then try FILE unmodified. Environment variable references in FILE\n\ + are replaced with their values by calling `substitute-in-file-name'.\n\ This function searches the directories in `load-path'.\n\ If optional second arg NOERROR is non-nil,\n\ report no error if FILE doesn't exist.\n\