Skip to content

Commit db6b05a

Browse files
committed
[#3606] Fix incorrect defcustom :type attributes
1 parent c1d1efd commit db6b05a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

cider-stacktrace.el

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,15 @@
4848
"Fill column for error messages in stacktrace display.
4949
If nil, messages will not be wrapped. If truthy but non-numeric,
5050
`fill-column' will be used."
51-
:type 'list
51+
:type '(radio
52+
(integer :tag "Fill Column")
53+
(const :tag "None" nil)
54+
(const :tag "Use default fill-column" t)))
5255
:package-version '(cider . "0.7.0"))
5356

5457
(defcustom cider-stacktrace-default-filters '(tooling dup)
5558
"Frame types to omit from initial stacktrace display."
56-
:type 'list
59+
:type '(list symbol)
5760
:package-version '(cider . "0.6.0"))
5861

5962
(defcustom cider-stacktrace-navigate-to-other-window t
@@ -75,7 +78,7 @@ Pick nil if you prefer the same window as *cider-error*."
7578
(defcustom cider-stacktrace-suppressed-errors '()
7679
"Errors that won't make the stacktrace buffer 'pop-over' your active window.
7780
The error types are represented as strings."
78-
:type 'list
81+
:type '(list string)
7982
:package-version '(cider . "0.12.0"))
8083

8184
;; Faces

0 commit comments

Comments
 (0)