From ab73a8785834782ef3a05677dada0c466b926cb0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 23 Jan 2022 13:43:53 +0100 Subject: [PATCH] Revert the other bits related to `load-read-file' * src/lread.c (syms_of_lread): Revert the other bits related to reverting `byte-compile-from-buffer'/`load-read-file'. --- etc/NEWS | 4 ---- src/lread.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 5297db3e2d5..e641eeaa50a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -878,10 +878,6 @@ Emacs buffers, like indentation and the like. The new ert function * Incompatible Lisp Changes in Emacs 29.1 ---- -** 'byte-compile-from-buffer' now uses 'load-read-function'. -It previously called 'read' directly. - ** User option 'mail-source-ignore-errors' is now obsolete. The whole mechanism for prompting users to continue in case of mail-source errors has been removed, so this option is no longer diff --git a/src/lread.c b/src/lread.c index 77b5b65e102..d868801f42c 100644 --- a/src/lread.c +++ b/src/lread.c @@ -5316,7 +5316,7 @@ of the file, regardless of whether or not it has the `.elc' extension. */); DEFVAR_LISP ("load-read-function", Vload_read_function, doc: /* Function used for reading expressions. -It is used by `load', `eval-region' and `byte-compile-from-buffer'. +It is used by `load' and `eval-region'. Called with a single argument (the stream from which to read). The default is to use the function `read'. */); -- 2.39.5