summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-01-13 20:19:00 +0200
committerEli Zaretskii <eliz@gnu.org>2016-01-13 20:19:00 +0200
commit2e12e8d74855b953e07252c7b173f34f79808296 (patch)
tree6ee16ddf976da7e565a1ee15346f7fba4c5b7b04
parentc8eb45da88e05453e78440fedf09a143c832d5a0 (diff)
Document the new deafault value of 'load-read-function'
* doc/lispref/loading.texi (How Programs Do Loading): Document the change in the default value of 'load-read-function'.
-rw-r--r--doc/lispref/loading.texi4
-rw-r--r--etc/NEWS2
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index cb5c7012c1..18e67f1abf 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -202,8 +202,8 @@ This variable specifies an alternate expression-reading function for
@code{load} and @code{eval-region} to use instead of @code{read}.
The function should accept one argument, just as @code{read} does.
-Normally, the variable's value is @code{nil}, which means those
-functions should use @code{read}.
+By default, this variable's value is @code{read}. @xref{Input
+Functions}.
Instead of using this variable, it is cleaner to use another, newer
feature: to pass the function as the @var{read-function} argument to
diff --git a/etc/NEWS b/etc/NEWS
index 88d0604ced..076835c3d2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1345,7 +1345,9 @@ commands other than the predefined `C-u'.
These allow to convert between buffer positions and the corresponding
file byte offsets, given the file's encoding.
++++
** The default value of `load-read-function' is now `read'.
+Previously, the default value of `nil' implied using `read'.
** New hook `pre-redisplay-functions', a bit easier to use than pre-redisplay-function.