]> git.eshelyaron.com Git - dict.git/commitdiff
FIXED: reverse args modes in sweeprolog-document-predicate-at-point
authorEshel Yaron <me@eshelyaron.com>
Tue, 4 Oct 2022 08:27:20 +0000 (11:27 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Oct 2022 08:27:20 +0000 (11:27 +0300)
sweeprolog.el

index f9308c8630e72fe85368b9e6d6a6c903c6b0e67c..c6c1cb4c94acdc2d4ec900ed50c3b89590e012b2 100644 (file)
@@ -2243,6 +2243,7 @@ predicate definition at or directly above POINT."
           (setq arguments (cons (read-string (concat num " argument: "))
                                 arguments)))
         (setq cur (1+ cur)))
+      (setq arguments (reverse arguments))
       (let ((det (cadr (read-multiple-choice "Determinism: "
                                              '((?d "det"       "Succeeds exactly once")
                                                (?s "semidet"   "Succeeds at most once")