unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Execute a string as a command
@ 2015-11-06  3:23 Tim Johnson
  2015-11-06  3:53 ` Emanuel Berg
  2015-11-06  4:40 ` Random832
  0 siblings, 2 replies; 16+ messages in thread
From: Tim Johnson @ 2015-11-06  3:23 UTC (permalink / raw)
  To: Emacs

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



^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <mailman.1811.1446780244.7904.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2015-11-07 19:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06  3:23 Execute a string as a command Tim Johnson
2015-11-06  3:53 ` Emanuel Berg
2015-11-06  4:06   ` Tim Johnson
2015-11-06 21:47     ` Emanuel Berg
2015-11-07  1:32       ` Tim Johnson
2015-11-07  3:57         ` Emanuel Berg
     [not found]       ` <mailman.1860.1446859974.7904.help-gnu-emacs@gnu.org>
2015-11-07 18:32         ` Barry Margolin
2015-11-07 19:36           ` Tim Johnson
2015-11-06  4:40 ` Random832
2015-11-06  5:52   ` Tim Johnson
     [not found]   ` <mailman.1818.1446789151.7904.help-gnu-emacs@gnu.org>
2015-11-06  9:43     ` Joost Kremers
2015-11-06 16:17       ` Tim Johnson
2015-11-06 16:49         ` Tim Johnson
     [not found] <mailman.1811.1446780244.7904.help-gnu-emacs@gnu.org>
2015-11-06  3:36 ` Barry Margolin
2015-11-06  3:59   ` Tim Johnson
2015-11-06  3:59   ` Emanuel Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).