note
bojinlund
<p>I am using Emacs and perltidy by adding the lines
<code>
# (compile (concat "perltidy " (buffer-name)) nil)
# (ediff-files (concat (buffer-name) ".tdy") (buffer-name))
</code>
to my Perl scripts.
</p>
<p>
Putting the cursor at the end of the added lines and entering control-X, control-E will execute perltidy and activate the ediff-files function in Emacs. Then I can select which part of my script I want to be changed.
</p>
1061428
1061428