From: Richard M. Stallman Date: Wed, 23 Oct 2002 17:25:31 +0000 (+0000) Subject: (define-minor-mode): Don't call eval-after-load while building Emacs. X-Git-Tag: emacs-pretest-21.2.92~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2d4a29947963bd30263f72bb2e8cd2accb2b1023;p=emacs.git (define-minor-mode): Don't call eval-after-load while building Emacs. --- diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 4bc2861961f..af501e9b0e0 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -218,7 +218,8 @@ With zero or negative ARG turn mode off. ;; If the mode is global, call the function according to the default. ,(if globalp - `(if (and load-file-name ,mode) + `(if (and load-file-name ,mode + (not purify-flag)) (eval-after-load load-file-name '(,mode 1))))))) ;;;