diff options
author | Marius Vollmer <mvo@zagadka.de> | 2005-01-14 16:24:09 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2005-01-14 16:24:09 +0000 |
commit | e70c841fe6411e4406b724f1d4ed978eb44afe5f (patch) | |
tree | bf9e1c99ebfbb9b00ffe18f52bde2bd82347a941 /doc/ref/scheme-scripts.texi | |
parent | 39e707a1308e64014dd66dab8baf141f3f0beb49 (diff) | |
download | guile-e70c841fe6411e4406b724f1d4ed978eb44afe5f.tar.gz |
Describe new 1.4 compatability behavior of
-e option.
Diffstat (limited to 'doc/ref/scheme-scripts.texi')
-rw-r--r-- | doc/ref/scheme-scripts.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/ref/scheme-scripts.texi b/doc/ref/scheme-scripts.texi index 3ec9a1118..e12eee60f 100644 --- a/doc/ref/scheme-scripts.texi +++ b/doc/ref/scheme-scripts.texi @@ -132,6 +132,15 @@ that is defined in the script. It can also be of the form @code{(@@ @var{module-name} @var{symbol})} and in that case, the symbol is looked up in the module named @var{module-name}. +For compatibility with some versions of Guile 1.4, you can also use the +form @code{(symbol ...)} (that is, a list of only symbols that doesn't +start with @code{@@}), which is equivalent to @code{(@@ (symbol ...) +main)}, or @code{(symbol ...) symbol} (that is, a list of only symbols +followed by a symbol), which is equivalent to @code{(@@ (symbol ...) +symbol)}. We recommend to use the equivalent forms directly since they +corresponf to the @code{(@@ ...)} read syntax that can be used in +normal code, @xref{Using Guile Modules}. + @xref{Scripting Examples}. @item -ds |