What is wrong with the following code:
(defun test
(interactive)
(message "hello"))
(global-set-key '[f4] 'test)
When evaluating this with eval-region and then pressing F4 I get the error:
Wrong type argument: commandp, test
What is wrong with the following code:
(defun test
(interactive)
(message "hello"))
(global-set-key '[f4] 'test)
When evaluating this with eval-region and then pressing F4 I get the error:
Wrong type argument: commandp, test