+2005-07-09 Bruno Haible <bruno@clisp.org>
+
+ * po-mode.el (po-validate): Require the 'compile' module before
+ accessing it.
+ Report and patch by Sven Joachim <sven_joachim@web.de>.
+
2005-05-23 Bruno Haible <bruno@clisp.org>
* gettext-0.14.5 released.
(defun po-validate ()
"Use 'msgfmt' for validating the current PO file contents."
(interactive)
+ ; The 'compile' subsystem is autoloaded through a call to (compile ...).
+ ; We need to initialize it outside of any binding. Without this statement,
+ ; all defcustoms and defvars of compile.el would be undone when the let*
+ ; terminates.
+ (require 'compile)
(let* ((dev-null
(cond ((boundp 'null-device) null-device) ; since Emacs 20.3
((memq system-type '(windows-nt windows-95)) "NUL")