diff options
author | Mark H Weaver <mhw@netris.org> | 2013-03-28 05:09:53 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2013-03-28 05:09:53 -0400 |
commit | 26d148066f9cb20e395a7dc4fefdf2e2ef0b2fb0 (patch) | |
tree | 40f13bc6355adb822bb8cd01fee5bcd9fd5430f9 /doc/ref/scheme-using.texi | |
parent | 8ae26afefee947c71314733c419519fb616bf36d (diff) | |
parent | 579127cce488ce208d62e68e679e34fbbdc17367 (diff) | |
download | guile-26d148066f9cb20e395a7dc4fefdf2e2ef0b2fb0.tar.gz |
Merge remote-tracking branch 'origin/stable-2.0'
Conflicts:
configure.ac
libguile/deprecated.c
libguile/deprecated.h
libguile/filesys.h
libguile/fluids.c
libguile/fports.c
libguile/gc.c
libguile/guile.c
libguile/numbers.c
libguile/objcodes.c
libguile/r6rs-ports.c
libguile/smob.c
libguile/socket.c
libguile/threads.h
module/language/scheme/decompile-tree-il.scm
module/language/tree-il/peval.scm
test-suite/tests/syncase.test
Diffstat (limited to 'doc/ref/scheme-using.texi')
-rw-r--r-- | doc/ref/scheme-using.texi | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/doc/ref/scheme-using.texi b/doc/ref/scheme-using.texi index e0f91af02..4422c1863 100644 --- a/doc/ref/scheme-using.texi +++ b/doc/ref/scheme-using.texi @@ -125,7 +125,7 @@ The programmatic interface to value history is in a module: @end lisp @deffn {Scheme Procedure} value-history-enabled? -Return true iff value history is enabled. +Return true if value history is enabled, or false otherwise. @end deffn @deffn {Scheme Procedure} enable-value-history! @@ -430,8 +430,11 @@ Garbage collection. Display statistics. @end deffn -@deffn {REPL Command} option [key value] -List/show/set options. +@deffn {REPL Command} option [name] [exp] +With no arguments, lists all options. With one argument, shows the +current value of the @var{name} option. With two arguments, sets the +@var{name} option to the result of evaluating the Scheme expression +@var{exp}. @end deffn @deffn {REPL Command} quit @@ -749,6 +752,7 @@ list}, or simply @code{guild}. @cindex site path @cindex load path @findex %site-dir +@findex %site-ccache-dir At some point, you will probably want to share your code with other people. To do so effectively, it is important to follow a set of common @@ -780,11 +784,11 @@ find them. As with Scheme files, Guile searches a path to find compiled @code{.go} files, the @code{%load-compiled-path}. By default, this path has two entries: a path for Guile's files, and a path for site packages. You -should install your @code{.go} files into the latter. Currently there -is no procedure to get at this path, which is probably a bug. As in the -previous example, if Guile @value{EFFECTIVE-VERSION} is installed on -your system in @code{/usr/}, then the place to put compiled files for -site packages will be +should install your @code{.go} files into the latter directory, whose +value is returned by invoking the @code{%site-ccache-dir} procedure. As +in the previous example, if Guile @value{EFFECTIVE-VERSION} is installed +on your system in @code{/usr/}, then @code{(%site-ccache-dir)} site +packages will be @code{/usr/lib/guile/@value{EFFECTIVE-VERSION}/site-ccache}. Note that a @code{.go} file will only be loaded in preference to a |