]> git.eshelyaron.com Git - dict.git/commitdiff
* sweeprolog.el (sweeprolog--load-module): Use 'module-load'.
authorPhilip Kaludercic <philipk@posteo.net>
Fri, 19 May 2023 06:08:27 +0000 (06:08 +0000)
committerEshel Yaron <me@eshelyaron.com>
Fri, 19 May 2023 18:38:26 +0000 (21:38 +0300)
sweeprolog.el

index cd4bbd8aa6ba60a976f1cfe7f24bc878f0111640..190024112dc26a7ef4339acfdefe3147e7ced04e 100644 (file)
@@ -633,7 +633,7 @@ use `autoload/2' for all added directives."
                             (group-n 1 (one-or-more not-newline))
                             eos)
                         line)
-      (load (match-string 1 line)))))
+      (module-load (match-string 1 line)))))
 
 (defun sweeprolog--ensure-module ()
   "Locate and load `sweep-module', unless already loaded."