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: Drew Adams
Subject: RE: How do I use a var as a string?
Date: Thu, 28 Jul 2016 09:47:45 -0700 (PDT)

> (defvar my-str (concat "my " "string"))
> (print my-str)
> 
> and get an error about void symbol my-str.

It works for me.  Did you evaluate the `defvar', before trying to
evaluate the `print' - it sounds like you did not.



reply via email to

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