aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2016-01-13 20:19:00 +0200
committerEli Zaretskii2016-01-13 20:19:00 +0200
commit2e12e8d74855b953e07252c7b173f34f79808296 (patch)
tree6ee16ddf976da7e565a1ee15346f7fba4c5b7b04
parentc8eb45da88e05453e78440fedf09a143c832d5a0 (diff)
downloademacs-2e12e8d74855b953e07252c7b173f34f79808296.tar.gz
emacs-2e12e8d74855b953e07252c7b173f34f79808296.zip
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 cb5c7012c16..18e67f1abfe 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -202,8 +202,8 @@ This variable specifies an alternate expression-reading function for
202@code{load} and @code{eval-region} to use instead of @code{read}. 202@code{load} and @code{eval-region} to use instead of @code{read}.
203The function should accept one argument, just as @code{read} does. 203The function should accept one argument, just as @code{read} does.
204 204
205Normally, the variable's value is @code{nil}, which means those 205By default, this variable's value is @code{read}. @xref{Input
206functions should use @code{read}. 206Functions}.
207 207
208Instead of using this variable, it is cleaner to use another, newer 208Instead of using this variable, it is cleaner to use another, newer
209feature: to pass the function as the @var{read-function} argument to 209feature: to pass the function as the @var{read-function} argument to
diff --git a/etc/NEWS b/etc/NEWS
index 88d0604cedf..076835c3d20 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1345,7 +1345,9 @@ commands other than the predefined `C-u'.
1345These allow to convert between buffer positions and the corresponding 1345These allow to convert between buffer positions and the corresponding
1346file byte offsets, given the file's encoding. 1346file byte offsets, given the file's encoding.
1347 1347
1348+++
1348** The default value of `load-read-function' is now `read'. 1349** The default value of `load-read-function' is now `read'.
1350Previously, the default value of `nil' implied using `read'.
1349 1351
1350** New hook `pre-redisplay-functions', a bit easier to use than pre-redisplay-function. 1352** New hook `pre-redisplay-functions', a bit easier to use than pre-redisplay-function.
1351 1353