From 2e12e8d74855b953e07252c7b173f34f79808296 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 13 Jan 2016 20:19:00 +0200 Subject: [PATCH] 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'. --- doc/lispref/loading.texi | 4 ++-- etc/NEWS | 2 ++ 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 @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 88d0604cedf..076835c3d20 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. -- 2.39.5