guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change prompt and value-history in guile 1.9.14 init file ~/.


From: Neil Jerram
Subject: Re: How to change prompt and value-history in guile 1.9.14 init file ~/.guile
Date: Fri, 24 Dec 2010 01:20:29 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Fu gangqiang <address@hidden> writes:

> Hi, all
> guile 1.9.14 default prompt is 'scheme @(guile-user)>' and value-history is 
> #t,
> I can change them using commands ' ,o prompt "guile>"'  and ',o value-history 
> #f'
> but how to change them in ~/.guile file

According to the `Value History' section in the manual:

 -- Scheme Procedure: disable-value-history!
     Turn off value history, if it was on.

And, not documented (and not tested by me), but found by a bit of code
grepping: from (system repl common):

(define (repl-default-prompt-set! prompt)
  (repl-default-option-set! 'prompt prompt))

Regards,
        Neil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]