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

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

[elpa] 26/117: Fix load dependence, See Issue #232


From: Matthew Fidler
Subject: [elpa] 26/117: Fix load dependence, See Issue #232
Date: Fri, 25 Jul 2014 13:23:59 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit d4ae88d6edab2ffcb4f34309824efedb0a88ea4b
Author: Matthew L. Fidler <address@hidden>
Date:   Wed Jul 16 10:21:36 2014 -0500

    Fix load dependence, See Issue #232
---
 ergoemacs-macros.el |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ergoemacs-macros.el b/ergoemacs-macros.el
index da32ffd..3ad1536 100644
--- a/ergoemacs-macros.el
+++ b/ergoemacs-macros.el
@@ -218,11 +218,13 @@ Uses `ergoemacs-theme-component--parse-keys-and-body' and
            (indent 2))
   (let ((kb (make-symbol "body-and-plist")))
     (setq kb (ergoemacs-theme-component--parse body-and-plist))
-    `(puthash ,(plist-get (nth 0 kb) ':name)
-              (lambda() ,(plist-get (nth 0 kb) ':description)
-                (ergoemacs-theme-component--create-component
-                 ',(nth 0 kb)
-                 '(lambda () ,@(nth 1 kb)))) ergoemacs-theme-comp-hash)))
+    `(progn
+       (require 'ergoemacs-mode) ;; This should be loaded
+       (puthash ,(plist-get (nth 0 kb) ':name)
+                (lambda() ,(plist-get (nth 0 kb) ':description)
+                  (ergoemacs-theme-component--create-component
+                   ',(nth 0 kb)
+                   '(lambda () ,@(nth 1 kb)))) ergoemacs-theme-comp-hash))))
 
 (declare-function ergoemacs-theme-get-version "ergoemacs-theme-engine.el")
 (declare-function ergoemacs-theme-set-version "ergoemacs-theme-engine.el")



reply via email to

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