|
From: | C K Kashyap |
Subject: | Re: Repeat count for yanking |
Date: | Wed, 6 Jul 2011 11:56:39 +0530 |
* 2011-07-05T14:44:43+02:00 * Thierry Volpiatto wrote:Of course we include the newline in the last kill and do this:
> M-: (loop repeat 5 do (progn (yank) (insert "\n")))
M-: (dotimes (i 4) (yank))
Or use this:
(defun yank-repeatedly (n)
(interactive "NHow many times: ")
(dotimes (i n)
(yank)))
[Prev in Thread] | Current Thread | [Next in Thread] |