[Top][All Lists]

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

Re: prefix-region

From: Hrvoje Niksic
Subject: Re: prefix-region
Date: Tue, 25 Oct 2005 00:45:51 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Hrvoje Niksic <address@hidden> writes:
>> I have found this function, originally from XEmacs, immensely useful:
>>     (prefix-region PREFIX)
>>     Insert PREFIX at the beginning of each line between mark and point.
> Looks like string-rectangle can do the same, and more.

That behaves very differently when the endpoints of the region aren't
at line beginnings.  It also prefixes the last line even if it wasn't
really part of the selection.

reply via email to

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