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

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

[nongnu] elpa/sweeprolog 38edf9e3f2 005/166: FIXED: really initialize on


From: ELPA Syncer
Subject: [nongnu] elpa/sweeprolog 38edf9e3f2 005/166: FIXED: really initialize on load
Date: Fri, 30 Sep 2022 04:59:21 -0400 (EDT)

branch: elpa/sweeprolog
commit 38edf9e3f2c8b7eb45ed68ab1d811f3583ac02e8
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>

    FIXED: really initialize on load
---
 sweep.el | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/sweep.el b/sweep.el
index 5e8791f53f..72bd95a77f 100644
--- a/sweep.el
+++ b/sweep.el
@@ -42,14 +42,15 @@
   (if (y-or-n-p "Sweep needs `sweep-module' to work.  Compile it now? ")
       (progn
         (sweep-module-compile)
-        (require 'sweep-module)
-        (sweep-initialize (expand-file-name "bin/swipl"
-                                            (sweep-home-directory))
-                          "-q"
-                          (expand-file-name "sweep.pl"
-                                            (sweep-home-directory))))
+        (require 'sweep-module))
   (error "Sweep will not work until `sweep-module' is compiled!")))
 
+(sweep-initialize (expand-file-name "bin/swipl"
+                                    (sweep-home-directory))
+                  "-q"
+                  (expand-file-name "sweep.pl"
+                                    (sweep-home-directory)))
+
 (declare-function sweep-initialize "sweep-module")
 (declare-function sweep-initialized-p "sweep-module")
 (declare-function sweep-open-query "sweep-module")



reply via email to

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