[Top][All Lists]

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

Re: Apply a saved macro to region

From: Michael Hoffman
Subject: Re: Apply a saved macro to region
Date: Thu, 31 Jan 2008 15:22:56 +0000
User-agent: Thunderbird (Windows/20071031)

Ankur Jain wrote:

I saved a macro which appends a comma(,) at the end of a line. I want to
apply this saved macro to a region now. I mean, I select a region in emacs
and do "append_comma" macro command to apply this to the whole region.

It would be easier just to use query-replace-regexp to add a comma to the end of each line:

M-C-% $ RET , RET

reply via email to

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