emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/sweeprolog e9256e3d3b 1/6: Fixed defcustom type for sweepr


From: ELPA Syncer
Subject: [nongnu] elpa/sweeprolog e9256e3d3b 1/6: Fixed defcustom type for sweeprolog-top-level-display-action
Date: Mon, 7 Nov 2022 05:59:26 -0500 (EST)

branch: elpa/sweeprolog
commit e9256e3d3b83034624fc12b94483d8f3c7f89659
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@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

[Prev in Thread] Current Thread [Next in Thread]