Actually what I meant was, I want to run lisp forms from within emacs. Eg, (global-set-key "\C-\M-z" 'delete-whole-line). There must be a Lisp engine running within Emacs that interprets this form when it is in the .emacs init file. Can I send lisp forms to this engine at any given time during an Emacs session? I know global-set-key can be run from M-x but it's interactive, I'd like to be able to enter the above form manually.
In my .emacs init file I have commands like
(fset 'delete-whole-line "\C-a\C-k\C-k")
How can I run a command like this from within emacs? It doesn't seem to be
recognized when I try "M-x fset".