mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
(define-minor-mode): Don't call eval-after-load while building Emacs.
This commit is contained in:
parent
4458f412b0
commit
2d4a299479
1 changed files with 2 additions and 1 deletions
|
|
@ -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)))))))
|
||||
|
||||
;;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue