|
From: | Emanuel Berg |
Subject: | Re: How do I use a var as a string? |
Date: | Thu, 28 Jul 2016 18:46:56 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Tom Browder wrote: > So how can I define a variable whose value is > a string and then access the actual string > value by using the variable name? For example like this: (defun print-string (s) (insert "The string is: " s) ) (setq sail-ho-string "True sailing is dead!") (print-string sail-ho-string) -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 58 Blogomatic articles -
[Prev in Thread] | Current Thread | [Next in Thread] |