1
對於內置在像nextline
命令,我可以通過鍵入C-u n M-x next-line
重複n
倍。然而,對於以下用戶定義的命令:爲什麼我不能重複這個用戶定義的函數?
(defun smsn-set-priority-public-and-drop-cursor()
(interactive)
(progn
(move-end-of-line 1)
(insert (concat "\n @priority 0.75\n"))
(kill-line)
))
,如果我嘗試C-u 4 smsn-set-priority-public-and-drop-cursor
,它只會發生一次。爲什麼?
參見'章˚Fdotimes'。 – Drew