Consider this:
(defun kill-arg-words (arg)
"kill `arg' words ahead of you"
(interactive)
(kill-region (point)
(progn (forward-word arg) (point)
)))
I want to call it as M-x kill-arg-words <RET> 5 <RET>
, but instead, it does not provide me the option to type in arguments after the first <RET>
. How can I enable this?