Re: newbie question

Emilio Lopes <[email protected]> Tue, 13 Feb 2007 22:28:03 +0100
Newsgroups gmane.lisp.scheme.scsh
Organization The Church of Emacs
Message-ID <[email protected]>
Tim R Even writes:

> This seems mysterious to me because (run (xview "<file-name>.THM"))
> works, while (run (xview (car (glob "*.THM")))) signals an error.

> What am I missing?

The arguments passed to `run' are implicitly (quasi)quoted, so that
you can say things like

   (run (ls /tmp))

You have to "unquote" arguments that you want to have evaluated:

   (let ((dir "/tmp"))
     (run (ls ,dir)))

-- 
Emílio C. Lopes
Munich, Germany