Use load-read-function in byte-compile-from-buffer
* lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Use load-read-function. * src/lread.c (syms_of_lread): Adjust doc string (bug#33723).
This commit is contained in:
parent
3b33a14380
commit
79e54a1b75
3 changed files with 9 additions and 2 deletions
|
@ -2294,7 +2294,7 @@ With argument ARG, insert value in current buffer after the form."
|
|||
(setq byte-compile-read-position (point)
|
||||
byte-compile-last-position byte-compile-read-position)
|
||||
(let* ((lread--unescaped-character-literals nil)
|
||||
(form (read inbuffer))
|
||||
(form (funcall load-read-function inbuffer))
|
||||
(warning (byte-run--unescaped-character-literals-warning)))
|
||||
(when warning (byte-compile-warn "%s" warning))
|
||||
(byte-compile-toplevel-file-form form)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue