mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-21 20:20:24 +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>
|
||||
|
||||
* readline.scm: Typo in regex module name.
|
||||
|
|
|
@ -132,11 +132,16 @@
|
|||
(lambda ()
|
||||
(let loop ((endp (flush-whitespace %%load-port)))
|
||||
(if (not endp)
|
||||
(let ((result
|
||||
(start-stack read-and-eval!
|
||||
(read-and-eval! %%load-port))))
|
||||
(if interactivep
|
||||
(result-to-emacs result))
|
||||
(begin
|
||||
(save-module-excursion
|
||||
(lambda ()
|
||||
(if module
|
||||
(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)))
|
||||
(begin
|
||||
(load-acknowledge))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue