branch: elpa/sweeprolog
commit e9256e3d3b83034624fc12b94483d8f3c7f89659
Author: Eshel Yaron <m...@eshelyaron.com>
Commit: Eshel Yaron <m...@eshelyaron.com>

    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 389cef1b3c..51c4c44f5f 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

Reply via email to