File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,7 @@ instead of to `clojure-mode-map'."
342
342
(defcustom clojure-verify-major-mode t
343
343
" If non-nil, warn when activating the wrong major-mode."
344
344
:type 'boolean
345
+ :safe #'booleanp
345
346
:package-version '(clojure-mode " 5.3.0" ))
346
347
347
348
(defun clojure--check-wrong-major-mode ()
@@ -808,18 +809,21 @@ will align the values like this:
808
809
{:some-key 10
809
810
:key2 20}"
810
811
:package-version '(clojure-mode . " 5.1" )
812
+ :safe #'booleanp
811
813
:type 'boolean )
812
814
813
815
(defcustom clojure-align-binding-forms
814
816
'(" let" " when-let" " when-some" " if-let" " if-some" " binding" " loop"
815
817
" doseq" " for" " with-open" " with-local-vars" " with-redefs" )
816
818
" List of strings matching forms that have binding forms."
817
819
:package-version '(clojure-mode . " 5.1" )
820
+ :safe #'listp
818
821
:type '(repeat string))
819
822
820
823
(defcustom clojure-align-cond-forms '(" condp" " cond" " cond->" " cond->>" " case" " are" )
821
824
" List of strings identifying cond-like forms."
822
825
:package-version '(clojure-mode . " 5.1" )
826
+ :safe #'listp
823
827
:type '(repeat string))
824
828
825
829
(defun clojure--position-for-alignment ()
@@ -1204,6 +1208,7 @@ You can use this to let Emacs indent your own macros the same way
1204
1208
that it indents built-in macros like with-open. To manually set
1205
1209
it from Lisp code, use (put-clojure-indent 'some-symbol :defn)."
1206
1210
:type '(repeat symbol)
1211
+ :safe #'listp
1207
1212
:set 'add-custom-clojure-indents )
1208
1213
1209
1214
(define-clojure-indent
You can’t perform that action at this time.
0 commit comments