From 2d4a29947963bd30263f72bb2e8cd2accb2b1023 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 23 Oct 2002 17:25:31 +0000 Subject: [PATCH] (define-minor-mode): Don't call eval-after-load while building Emacs. --- lisp/emacs-lisp/easy-mmode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))))))) ;;; -- 2.39.5