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