From f40dcff15579df30b4c637463f13957f2cb191aa Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Tue, 4 Oct 2022 11:27:20 +0300 Subject: [PATCH] FIXED: reverse args modes in sweeprolog-document-predicate-at-point --- sweeprolog.el | 1 + 1 file changed, 1 insertion(+) diff --git a/sweeprolog.el b/sweeprolog.el index f9308c8..c6c1cb4 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -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") -- 2.39.2