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".