Change `load' to interact better with Emacs interface. Dissect REP
authorChris Hanson <org/chris-hanson/cph>
Tue, 26 Apr 1988 19:41:49 +0000 (19:41 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 26 Apr 1988 19:41:49 +0000 (19:41 +0000)
commit3c7e1558fdb5e0d42430caec48130ff1ae15bdd5
treeea949eb813366018d1ae1c38ad7568b89de71762
parent925a1f33ec36304614c54299ba7645e9635c9d90
Change `load' to interact better with Emacs interface.  Dissect REP
loop slightly to allow its parts to be used independently by `load'.
Now whenever `load' prints a value it is also entered in the REP
printer history.  Also, the value of the last file loaded is returned
to the REP loop as the value of the `load' expression.

All of this is useful for allowing Emacs to use `load' for zapping.
Now, zapping from a file is more or less equivalent to zapping through
a pipe.  Before, there were significant differences, especially
noticeable in interaction with the printer history.
v7/src/runtime/input.scm
v7/src/runtime/rep.scm