Subject: bug#33723: 26.1; function `byte-compile-file` use function `read` instead of the variable value of `load-read-function`

From: Eli Zaretskii <[email-masked]>
Date: Thu, 13 Dec 2018 15:51:07 +0200

> Date: Thu, 13 Dec 2018 19:17:17 +0800
> From: Jingtao Xu <[email-masked]>
> 
> But `byte-compile-file' will call `byte-compile-from-buffer' which will use function `read'
> instead of the gloal variable `load-read-function' when read emacs lisp forms.
> 
> So I think it should be a bug of function `byte-compile-from-buffer'.
> 
> Can you fix it in the future emacs version?

I think this is an enhancement request, because load-read-function is
documented to be relevant only to 'eval-region' and 'load', not to
'byte-compile'.

Thanks.