]> git.eshelyaron.com Git - emacs.git/commit
Fix reporting of read error line/columns in the init file
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 25 Mar 2022 16:20:35 +0000 (17:20 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 25 Mar 2022 16:20:35 +0000 (17:20 +0100)
commitec2f2ed65ef5232c83ed84384b0f6230345c7d78
tree1d82587941a93148a47af9cbfd56b60b160d1b9b
parent3e7257c3ed3e7f5451d4dab0b222f93a2d1b2aa3
Fix reporting of read error line/columns in the init file

* src/lread.c (invalid_syntax_lisp): The comments here said that
we were supposed to be called with point in the readcharfun
buffer.  This was not the case (at least) when reading the Emacs
init file, so the reported line/column was always wrong (1 and 0,
respectively) (bug#54550).
src/lread.c