From b75f8eab5535b58761a3b2a06c6fcf8765fcfa53 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 2 Jun 2001 06:12:18 +0000 Subject: [PATCH] (Fload): Document that the argument is run via substitute-in-file-name. --- src/ChangeLog | 5 +++++ src/lread.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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\ -- 2.39.5