From ef85ddc436e281319785103a242ac2470279124c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 18 Jul 2013 07:44:44 -0400 Subject: [PATCH] Avoid useless output files in gettext mode The previous coding for the po-mode check left a messages.po file lying around wherever it was run. Add the appropriate options to msgfmt to avoid that. --- flymake.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flymake.el b/flymake.el index 82db1e4..f0c7df5 100644 --- a/flymake.el +++ b/flymake.el @@ -2145,7 +2145,7 @@ wish to have supplied to Perl -I." (local-file (file-relative-name temp-file (file-name-directory buffer-file-name)))) - (list "msgfmt" (list "-c" local-file)))) + (list "msgfmt" (list "-c" "-o" "/dev/null" local-file)))) ;;;; tex-specific init-cleanup routines