Skip to content

Commit 6d33e5d

Browse files
authored
Fix perltidy error output (#229)
By default, perltidy writes errors to a file called `perltidy.ERR`. To make it write to stderr (which is what is assumed by format-all), we need to pass a "--standard-error-output" flag.
1 parent e41f58f commit 6d33e5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

format-all.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ Consult the existing formatters for examples of BODY."
11081108
(:install "cpan install Perl::Tidy")
11091109
(:languages "Perl")
11101110
(:features)
1111-
(:format (format-all--buffer-easy executable)))
1111+
(:format (format-all--buffer-easy executable "--standard-error-output")))
11121112

11131113
(define-format-all-formatter pgformatter
11141114
(:executable "pg_format")

0 commit comments

Comments
 (0)