Hi,
I am trying to make a simple keybinding to the "na" function. When I execute (na) it inserts "å" in the current buffer, which it is supposed to, but the when I try the keybinding as described in the first line I get the error: "Wrong argument: commandp, na". I am not sure if it matters, but I have also put the (local-set-key) command at the end of the code, but it produces the same error.
Now, I'm sure there is an easy solution to this. I just cannot see it =/
(local-set-key (kbd "C-c C-t") 'na)
(defun na ()
"Liten å"
(setq varlol "å")
(insert varlol))