emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 88e8b9f 002/433: Put all `require's not needed at compile-


From: Dmitry Gutov
Subject: [elpa] master 88e8b9f 002/433: Put all `require's not needed at compile-time into `progn's so the
Date: Thu, 15 Mar 2018 19:43:24 -0400 (EDT)

branch: master
commit 88e8b9f30c1e5593ce3dc805e9431d120d48e929
Author: mas <mas>
Commit: mas <mas>

    Put all `require's not needed at compile-time into `progn's so the
    byte-compiler doesn't load them (not at top level).  Only `mmm-compat'
    and `mmm-utils' need to be loaded at compile-time, since they define
    macros.
---
 mmm-auto.el   |  5 +++--
 mmm-class.el  |  7 ++++---
 mmm-cmds.el   |  7 ++++---
 mmm-mason.el  |  5 +++--
 mmm-mode.el   | 20 +++++++++-----------
 mmm-region.el |  5 +++--
 mmm-sample.el |  5 +++--
 7 files changed, 29 insertions(+), 25 deletions(-)

diff --git a/mmm-auto.el b/mmm-auto.el
index ff2ee74..23ba748 100644
--- a/mmm-auto.el
+++ b/mmm-auto.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2000 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-auto.el,v 1.1 2000/04/27 10:32:25 mas Exp $
+;; Version: $Id: mmm-auto.el,v 1.2 2000/04/30 01:47:03 mas Exp $
 
 ;;{{{ GPL
 
@@ -74,7 +74,8 @@
 ;;; Code:
 
 (require 'cl)
-(require 'mmm-vars)
+(progn
+  (require 'mmm-vars))
 
 ;;{{{ Autoloads
 
diff --git a/mmm-class.el b/mmm-class.el
index a4b0fff..f2db19f 100644
--- a/mmm-class.el
+++ b/mmm-class.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2000 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-class.el,v 1.1 2000/04/27 10:33:27 mas Exp $
+;; Version: $Id: mmm-class.el,v 1.2 2000/04/30 01:47:03 mas Exp $
 
 ;;{{{ GPL
 
@@ -34,8 +34,9 @@
 
 (require 'font-lock)
 (require 'cl)
-(require 'mmm-vars)
-(require 'mmm-region)
+(progn
+  (require 'mmm-vars)
+  (require 'mmm-region))
 
 ;;{{{ Get Class Specifications
 
diff --git a/mmm-cmds.el b/mmm-cmds.el
index e7fe448..4257cf0 100644
--- a/mmm-cmds.el
+++ b/mmm-cmds.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2000 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-cmds.el,v 1.1 2000/04/27 10:34:15 mas Exp $
+;; Version: $Id: mmm-cmds.el,v 1.2 2000/04/30 01:47:03 mas Exp $
 
 ;;{{{ GPL
 
@@ -32,8 +32,9 @@
 
 (require 'font-lock)
 (require 'mmm-compat)
-(require 'mmm-vars)
-(require 'mmm-class)
+(progn
+  (require 'mmm-vars)
+  (require 'mmm-class))
 
 ;;{{{ Applying Predefined Classes
 
diff --git a/mmm-mason.el b/mmm-mason.el
index 1f76851..4d00a32 100644
--- a/mmm-mason.el
+++ b/mmm-mason.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2000 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-mason.el,v 1.1 2000/04/27 10:36:27 mas Exp $
+;; Version: $Id: mmm-mason.el,v 1.2 2000/04/30 01:47:03 mas Exp $
 
 ;;{{{ GPL
 
@@ -74,7 +74,8 @@
 
 ;;; Code:
 
-(require 'mmm-auto)
+(progn
+  (require 'mmm-auto))
 
 ;;{{{ Perl Tags
 
diff --git a/mmm-mode.el b/mmm-mode.el
index 7f42f95..fb7102c 100644
--- a/mmm-mode.el
+++ b/mmm-mode.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 1999 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-mode.el,v 1.1 2000/04/27 10:31:44 mas Exp $
+;; Version: $Id: mmm-mode.el,v 1.2 2000/04/30 01:47:04 mas Exp $
 ;; Keywords: convenience faces languages tools
 
 ;;{{{ GPL
@@ -83,22 +83,20 @@
 
 ;;; Code:
 
-;;{{{ Load Everything Else
-
 (require 'cl)
 ;; If we don't load font-lock now, but it is loaded later, the
 ;; necessary mmm-font-lock- properties may not be there.
 (require 'font-lock)
 (require 'mmm-compat)
 (require 'mmm-utils)
-(require 'mmm-vars)
-(require 'mmm-auto)
-(require 'mmm-region)
-(require 'mmm-class)
-;;; This file is set up to autoload by `mmm-auto.el'.
-;;(require 'mmm-cmds)
-
-;;}}}
+(progn
+  (require 'mmm-vars)
+  (require 'mmm-auto)
+  (require 'mmm-region)
+  (require 'mmm-class)
+  ;; This file is set up to autoload by `mmm-auto.el'.
+  ;; (require 'mmm-cmds)
+  )
 ;;{{{ Toggle Function
 
 (defvar mmm-mode nil
diff --git a/mmm-region.el b/mmm-region.el
index 4a7bfe4..8845cf0 100644
--- a/mmm-region.el
+++ b/mmm-region.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2000 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-region.el,v 1.1 2000/04/27 10:35:40 mas Exp $
+;; Version: $Id: mmm-region.el,v 1.2 2000/04/30 01:47:04 mas Exp $
 
 ;;{{{ GPL
 
@@ -36,7 +36,8 @@
 (require 'cl)
 (require 'mmm-compat)
 (require 'mmm-utils)
-(require 'mmm-vars)
+(progn
+  (require 'mmm-vars))
 
 ;; CREATION & DELETION
 ;;{{{ Markers
diff --git a/mmm-sample.el b/mmm-sample.el
index c793eb5..ddd581a 100644
--- a/mmm-sample.el
+++ b/mmm-sample.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2000 by Michael Abraham Shulman
 
 ;; Author: Michael Abraham Shulman <address@hidden>
-;; Version: $Id: mmm-sample.el,v 1.1 2000/04/27 10:36:48 mas Exp $
+;; Version: $Id: mmm-sample.el,v 1.2 2000/04/30 01:47:04 mas Exp $
 
 ;;{{{ GPL
 
@@ -31,7 +31,8 @@
 
 ;;; Code:
 
-(require 'mmm-auto)
+(progn
+  (require 'mmm-auto))
 
 ;;{{{ CSS embedded in HTML
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]