]> git.eshelyaron.com Git - emacs.git/commit
Put re-loaded file back at start of load-history (bug#26837)
authorGlenn Morris <rgm@gnu.org>
Tue, 9 May 2017 23:44:09 +0000 (19:44 -0400)
committerGlenn Morris <rgm@gnu.org>
Tue, 9 May 2017 23:44:09 +0000 (19:44 -0400)
commitdb30296baed2d9c3c80eb89f6fae256e81ee2fbc
tree6f680bfa4af603e2a5d7a4ec92d267d07e56ac7f
parentd6d5020c2593a1e8ac2fe7ef4f217cfbcacfd32d
Put re-loaded file back at start of load-history (bug#26837)

* src/lread.c (readevalloop): Fix the "whole buffer" check to
operate in the correct buffer.
(Feval_buffer): Move point back to the start after checking
for lexical binding.
* test/src/lread-tests.el (lread-test-bug26837): New test.
* test/data/somelib.el, test/data/somelib2.el: New test data files.
src/lread.c
test/data/somelib.el [new file with mode: 0644]
test/data/somelib2.el [new file with mode: 0644]
test/src/lread-tests.el