[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 2e12e8d: Document the new deafault value of 'load
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 2e12e8d: Document the new deafault value of 'load-read-function' |
Date: |
Wed, 13 Jan 2016 18:19:39 +0000 |
branch: emacs-25
commit 2e12e8d74855b953e07252c7b173f34f79808296
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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 cb5c701..18e67f1 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 88d0604..076835c 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 2e12e8d: Document the new deafault value of 'load-read-function',
Eli Zaretskii <=