From e9256e3d3b83034624fc12b94483d8f3c7f89659 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 28 Oct 2022 19:00:16 +0300 Subject: [PATCH] Fixed defcustom type for sweeprolog-top-level-display-action --- sweeprolog.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sweeprolog.el b/sweeprolog.el index 389cef1..51c4c44 100644 --- a/sweeprolog.el +++ b/sweeprolog.el @@ -234,7 +234,11 @@ the value of this option is used as its path." (defcustom sweeprolog-top-level-display-action nil "Display action used for displaying the `sweeprolog-top-level' buffer." :package-version '((sweeprolog . "0.1.0")) - :type 'function + :type '(choice (const :tag "Default" nil) + (cons :tag "Action" + (choice (function :tag "Display Function") + (repeat :tag "Display Functions" function)) + alist)) :group 'sweeprolog) (defcustom sweeprolog-top-level-min-history-length 3 -- 2.39.2