[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: formatting buffer with external tool
From: |
Eli Zaretskii |
Subject: |
Re: formatting buffer with external tool |
Date: |
Tue, 12 Apr 2022 14:53:18 +0300 |
> From: Luca Ferrari <fluca1978@gmail.com>
> Date: Tue, 12 Apr 2022 13:45:03 +0200
>
> Hi all,
> how can I define a command so that instead of calling indent-region I
> pass the region content to an external program and get back the result
> into the region?
Use shell-command-on-region with 4th arg not a buffer and not nil.