From a6f6840ed839bbc3c5040848db0cf642745a97aa Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 17 Jul 2006 21:22:50 +0000 Subject: [PATCH] (mh-loaddefs.el): Finish setting up the default empty file *before* telling Emacs to add the autoloads, in case it fails. --- lisp/Makefile.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/Makefile.in b/lisp/Makefile.in index e90c6161f75..1b4a152888a 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -247,12 +247,6 @@ $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) echo ";;; Commentary:" >> $@ echo ";;; Change Log:" >> $@ echo ";;; Code:" >> $@ - $(EMACS) $(EMACSOPT) \ - -l autoload \ - --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ - --eval "(setq generated-autoload-file \"$(lisp)/mh-e/mh-loaddefs.el\")" \ - --eval "(setq make-backup-files nil)" \ - -f batch-update-autoloads $(lisp)/mh-e echo " " >> $@ echo "(provide 'mh-loaddefs)" >> $@ echo ";; Local Variables:" >> $@ @@ -261,6 +255,12 @@ $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) echo ";; no-update-autoloads: t" >> $@ echo ";; End:" >> $@ echo ";;; mh-loaddefs.el ends here" >> $@ + $(EMACS) $(EMACSOPT) \ + -l autoload \ + --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ + --eval "(setq generated-autoload-file \"$(lisp)/mh-e/mh-loaddefs.el\")" \ + --eval "(setq make-backup-files nil)" \ + -f batch-update-autoloads $(lisp)/mh-e # Prepare a bootstrap in the lisp subdirectory. # -- 2.39.2