I'm trying to make a function that moves to the end of line and inserts a newline.
(defun newline-below ()
(interactive)
(move-end-of-line)
(newline)
)
However, I get a cryptic error when I try to run it.
newline-below: Wrong number of arguments: #[(arg) "