help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How do I use a var as a string?


From: Tom Browder
Subject: Re: How do I use a var as a string?
Date: Fri, 29 Jul 2016 10:06:16 -0500

On Friday, July 29, 2016, Drew Adams <address@hidden> wrote:

> > > I want to bind a string to a variable and then use the variable name as
> > > the string when a string is expected.  I have tried variations of this:
> > > (defvar my-str (concat "my " "string"))

...

> > My next experiment will be to use "(defconst ...)" which I'm hoping will
> > solve the problem.
>
> What problem?  It's not clear (to me) what you are trying to do.
>

In the beginning of this thread I mentioned I was getting an error when
trying to use the var in another definition.

-Tom


reply via email to

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