in reply to Formatting Perl code with Emacs
I am using Emacs and perltidy by adding the lines
to my Perl scripts.# (compile (concat "perltidy " (buffer-name)) nil) # (ediff-files (concat (buffer-name) ".tdy") (buffer-name))
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Formatting Perl code with Emacs
by isntvoid (Novice) on Nov 07, 2013 at 10:29 UTC | |
|
Re^2: Formatting Perl code with Emacs
by LanX (Saint) on Nov 08, 2013 at 00:32 UTC |