summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-06-02 06:12:18 +0000
committerEli Zaretskii <eliz@gnu.org>2001-06-02 06:12:18 +0000
commitb75f8eab5535b58761a3b2a06c6fcf8765fcfa53 (patch)
tree6210c8e487e2a808ed175a90646bc0ab786b72dc /src
parent7727f3c0b893102feb94ad43b65b4fefb6c0abba (diff)
downloademacs-b75f8eab5535b58761a3b2a06c6fcf8765fcfa53.tar.gz
(Fload): Document that the argument is run via substitute-in-file-name.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/lread.c3
2 files changed, 7 insertions, 1 deletions
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 <eliz@is.elta.co.il>
+
+ * lread.c (Fload): Document that the argument is run via
+ substitute-in-file-name.
+
2001-05-31 Gerd Moellmann <gerd@gnu.org>
* 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\