1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00

* readline.scm (make-readline-port): Bugfixed last change...

This commit is contained in:
Mikael Djurfeldt 1998-10-30 06:30:00 +00:00
parent dd195c9322
commit cad4d45bd6
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
* readline.scm (make-readline-port): Bugfixed last change...
1998-10-28 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
* readline.scm (make-readline-port): Don't set prompt to "... " if

View file

@ -53,13 +53,13 @@
input-port
output-port
read-hook))
(if (not (zero? (string-length read-string)))
(set! prompt "... "))
(set! string-index 0)
(if (not (eof-object? read-string))
(begin
(or (string=? read-string "")
(add-history read-string))
(begin
(add-history read-string)
(set! prompt "... ")))
(get-character))
read-string)))
(else