Skip to content

Commit 08d73ba

Browse files
committed
Merge pull request #419 from gracjan/pr-mark-some-variables-as-safe
Mark some variables as safe.
2 parents a917001 + 8ecae6f commit 08d73ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

haskell-indent.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,19 @@
102102
(defcustom haskell-indent-offset 4
103103
"Indentation of Haskell statements with respect to containing block."
104104
:type 'integer
105+
:safe #'natnump
105106
:group 'haskell-indent)
106107

107108
(defcustom haskell-indent-literate-Bird-default-offset 1
108109
"Default number of blanks after > in a Bird style literate script."
109110
:type 'integer
111+
:safe #'natnump
110112
:group 'haskell-indent)
111113

112114
(defcustom haskell-indent-rhs-align-column 0
113115
"Column on which to align right-hand sides (use 0 for ad-hoc alignment)."
114116
:type 'integer
117+
:safe #'natnump
115118
:group 'haskell-indent)
116119

117120
(defun haskell-indent-point-to-col (apoint)
@@ -324,6 +327,7 @@ It deals with both Bird style and non Bird-style scripts."
324327
(defcustom haskell-indent-look-past-empty-line t
325328
"If nil, indentation engine will not look past an empty line for layout points."
326329
:group 'haskell-indent
330+
:safe #'booleanp
327331
:type 'boolean)
328332

329333
(defun haskell-indent-start-of-def ()
@@ -1020,6 +1024,7 @@ OPEN is the start position of the comment in which point is."
10201024
This is necessary in the \"do\" layout under Haskell-98.
10211025
See http://hackage.haskell.org/trac/haskell-prime/wiki/DoAndIfThenElse"
10221026
:group 'haskell-indent
1027+
:safe #'booleanp
10231028
:type 'integer)
10241029

10251030
(defun haskell-indent-closing-keyword (start)

0 commit comments

Comments
 (0)