note
LanX
I'm sure you know this already, but just in case <P>
<I>> Be able to restrict the perltidy-run to the current function, </I><P>
<C>M-x mark-defun</C> aka <C>C-M-h</C> selects the current function.<P>
<I>> or the current region (i.e. avoid cosmetic changes in untouched places of the file which mess up VC history)</I><P>
That's what <C>M-x shell-command-on-region</C> does, if you don't <C>mark-whole-buffer</C><P>
IOW the right combination of these three commands do the job.<P>
<div class="pmsig"><div class="pmsig-708738">
<!--nowiki--><p>Cheers Rolf<br>
<sub>(addicted to the Perl Programming Language :)
<br> <i> [id://1153804|Wikisyntax for the Monastery]</i>
</sub>
<!--nowiki-->
</div></div><!-- Wiki2Monks {"version":1.161} -->
11145989
11146010