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

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

Execute a string as a command


From: Tim Johnson
Subject: Execute a string as a command
Date: Thu, 5 Nov 2015 18:23:57 -0900
User-agent: Mutt/1.5.21 (2010-09-15)

Example : A string has the value of :
"toggle-truncate-lines"

(setq string-wants-to-be-a-command "toggle-truncate-lines")

How may I convert 'string-wants-to-be-a-command to a command:
I.E. => (toggle-truncate-lines) to be used programmatically?

thanks
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com



reply via email to

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