mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-22 20:40:29 +02:00
* emacs.scm (emacs-load): New feature: Eval in specified module.
This commit is contained in:
parent
4ffd142c03
commit
ef0d04e5c3
2 changed files with 14 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
1998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
||||||
|
|
||||||
|
* emacs.scm (emacs-load): New feature: Eval in specified module.
|
||||||
|
|
||||||
1998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
1998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
||||||
|
|
||||||
* readline.scm: Typo in regex module name.
|
* readline.scm: Typo in regex module name.
|
||||||
|
|
|
@ -132,11 +132,16 @@
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let loop ((endp (flush-whitespace %%load-port)))
|
(let loop ((endp (flush-whitespace %%load-port)))
|
||||||
(if (not endp)
|
(if (not endp)
|
||||||
(let ((result
|
(begin
|
||||||
(start-stack read-and-eval!
|
(save-module-excursion
|
||||||
(read-and-eval! %%load-port))))
|
(lambda ()
|
||||||
(if interactivep
|
(if module
|
||||||
(result-to-emacs result))
|
(set-current-module (resolve-module module #f)))
|
||||||
|
(let ((result
|
||||||
|
(start-stack read-and-eval!
|
||||||
|
(read-and-eval! %%load-port))))
|
||||||
|
(if interactivep
|
||||||
|
(result-to-emacs result)))))
|
||||||
(loop (flush-whitespace %%load-port)))
|
(loop (flush-whitespace %%load-port)))
|
||||||
(begin
|
(begin
|
||||||
(load-acknowledge))))
|
(load-acknowledge))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue