[Top][All Lists]

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

Re: quoting a block of text with ">"

From: Eli Zaretskii
Subject: Re: quoting a block of text with ">"
Date: Thu, 30 Sep 2010 10:33:30 +0200

> Date: Wed, 29 Sep 2010 11:59:19 -0700
> From: "Stever" <>
> I can't seem to find this function in my version of emacs, but I assume
> there is one. is there any function where I can highlight a block of text
> and put a ">" in front of it.

It's part of mail-indent-citation (in sendmail.el):

      (let ((end (set-marker (make-marker) (region-end))))
        (goto-char (region-beginning))
        (while (< (point) end)
          (insert mail-yank-prefix)
          (forward-line 1))))

mail-yank-prefix is "> " in this case.

This assumes you have the block of text marked as region.

reply via email to

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