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

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

Re: string to symbol


From: Thierry Volpiatto
Subject: Re: string to symbol
Date: Sun, 02 Aug 2009 12:02:45 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux)

TheFlyingDutchman <zzbbaadd@aol.com> writes:

> I want to call the documentation or describe-function, functions, with
> a list of strings that are function names. Those functions take a
> symbol as an argument. e.g. (describe-function 'shell).  Given a
> string "shell" is it possible to convert that to the symbol shell so
> that I can use it as an argument to those functions?
>
,----
| ELISP> (intern "shell")
| shell
| ELISP> (symbol-name 'shell)
| "shell"
| ELISP> 
`----
-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France





reply via email to

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