branch: elpa/cider
commit db6b05a9b6a95f3aee9f6fd4a912d0597b622230
Author: Bozhidar Batsov <bozhi...@batsov.dev>
Commit: Bozhidar Batsov <bozhi...@batsov.dev>

    [#3606] Fix incorrect defcustom :type attributes
---
 cider-stacktrace.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/cider-stacktrace.el b/cider-stacktrace.el
index 77ae4f938f..8d3f4ca67e 100644
--- a/cider-stacktrace.el
+++ b/cider-stacktrace.el
@@ -48,12 +48,15 @@
   "Fill column for error messages in stacktrace display.
 If nil, messages will not be wrapped.  If truthy but non-numeric,
 `fill-column' will be used."
-  :type 'list
+  :type '(radio
+          (integer :tag "Fill Column")
+          (const :tag "None" nil)
+          (const :tag "Use default fill-column" t)))
   :package-version '(cider . "0.7.0"))
 
 (defcustom cider-stacktrace-default-filters '(tooling dup)
   "Frame types to omit from initial stacktrace display."
-  :type 'list
+  :type '(list symbol)
   :package-version '(cider . "0.6.0"))
 
 (defcustom cider-stacktrace-navigate-to-other-window t
@@ -75,7 +78,7 @@ Pick nil if you prefer the same window as *cider-error*."
 (defcustom cider-stacktrace-suppressed-errors '()
   "Errors that won't make the stacktrace buffer 'pop-over' your active window.
 The error types are represented as strings."
-  :type 'list
+  :type '(list string)
   :package-version '(cider . "0.12.0"))
 
 ;; Faces

Reply via email to