オプションの数値プレフィックスを持つ関数を指定するにはどうすればよいですか?そうでない場合は、数値の入力を求められますか?基本的にgoto-lineはどのように動作しますか?
(defun my-function(&optional n)
; I have tried
(interactive "N") ; reads string, no prompt
(interactive "p") ; defaults to one
(interactive (if (not n) (read-number "N: "))) ; runtime error
では、どうすれば仕事をすることができますか?ありがとう