]> git.eshelyaron.com Git - emacs.git/commitdiff
(define-minor-mode): Don't call eval-after-load while building Emacs.
authorRichard M. Stallman <rms@gnu.org>
Wed, 23 Oct 2002 17:25:31 +0000 (17:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 23 Oct 2002 17:25:31 +0000 (17:25 +0000)
lisp/emacs-lisp/easy-mmode.el

index 4bc2861961f61bed0ef6d90b3ed20287ceec4e5e..af501e9b0e083cd0c31527025999fb1c57f449f8 100644 (file)
@@ -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)))))))
 \f
 ;;;