* Lookup 'use-emacs-interface in the-root-module.

This commit is contained in:
Dirk Herrmann 2000-12-12 18:10:56 +00:00
commit 6b098fecdc
4 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.scm (activate-readline): Lookup 'use-emacs-interface
in the-root-module.
2000-11-24 Dirk Herrmann <D.Herrmann@tu-bs.de>
* readline.c (current_input_getc): Use more explicit predicate

View file

@ -169,9 +169,8 @@
(define-public (activate-readline)
(if (and (isatty? (current-input-port))
(not (and (module-defined? the-root-module
'use-emacs-interface)
use-emacs-interface)))
(not (and (module-defined? the-root-module 'use-emacs-interface)
(module-ref the-root-module 'use-emacs-interface))))
(let ((read-hook (lambda () (run-hook before-read-hook))))
(set-current-input-port (readline-port))
(set! repl-reader

View file

@ -1,3 +1,8 @@
2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
* boot-9.scm (top-repl): Lookup 'use-emacs-interface in
the-root-module.
2000-12-07 Neil Jerram <neil@ossau.uklinux.net>
* emacs.scm (flush-whitespace): Fix spelling typo ("recieving").

View file

@ -2793,7 +2793,7 @@
;; Load emacs interface support if emacs option is given.
(if (and (module-defined? the-root-module 'use-emacs-interface)
use-emacs-interface)
(module-ref the-root-module 'use-emacs-interface))
(load-emacs-interface))
;; Place the user in the guile-user module.