(defun Martin theme ()
You can't have a space in a function (or symbol name), replace all uses of "Martin theme" with "Martin-theme" ie
(defun Martin-theme ()
PS please put your code in [code][/code] tags to preserve indentation and make it easier to read. Also, it usually helps to post the exact error message, for Emacs it will be in the *Messages* buffer.