I am trying to write a function which will perform a bookmark-jump but then reset the the bookmark line to the top of the screen. So far I have:
(defun foo ()
(interactive)
(bookmark-jump)
(evil-scroll-line-to-top nil)
)
(define-key evil-normal-state-map [f9] 'foo)
But hitting F9 gives this message. What am I doing wrong please?