scsh-users
[Top] [All Lists]

Re: newbie question

To: "Tim R. Even" <time@ameritech.net>
Subject: Re: newbie question
From: Emilio Lopes <eclig@gmx.net>
Date: Tue, 13 Feb 2007 22:28:03 +0100
Cc: scsh-users@scsh.net
List-id: <scsh-users.list-id.scsh.net>
Organization: The Church of Emacs
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

<Prev in Thread] Current Thread [Next in Thread>