help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to apply (multi file) patches conveniently


From: Michael Heerdegen
Subject: Re: How to apply (multi file) patches conveniently
Date: Tue, 07 Feb 2017 20:31:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> I just mark the entire patch in Emacs, then invoke "M-|", and type
>
>   patch -d /the/root/directory/of/the/project -pN

Btw, like with `epatch', this apparently also works with the complete
buffer contents - seems "patch" is smart enough to DTRT.  Which means,
if I do this from within a command, I can probably avoid letting the
user mark the patch as region.


Michael.



reply via email to

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