[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy and paste multiple times

From: Andreas Röhler
Subject: Re: copy and paste multiple times
Date: Wed, 25 Jan 2012 18:28:55 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16

Am 25.01.2012 18:20, schrieb Rajanikanth Jammalamadaka:
This has been discussed below:

Is there no built-in (short :-)) command in emacs to copy and paste a
region multiple times?


AFAIK not.

But is was discussed at this list and several proposals made.
Here is mine:

(defun yank-repeat (arg)
  "With numerical ARG, repeat last yank ARG times. "
  (interactive "p*")
  (dotimes (i arg)
    (insert (car kill-ring))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]