;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.
(defun jump2 ()
(interactive)
(while (not (eobp))
(when (y-or-n-p "move to next two lines?")
(forward-line 2))))
$ emacs -Q
M-x hl-line-mode RET
M-x jump2 RET