Skip to content

Commit 029c150

Browse files
committed
purescript-indentation.el: group together all internal defvars
1 parent e3862d0 commit 029c150

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

purescript-indentation.el

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
(require 'simple)
3838
(require 'purescript-vars)
3939

40-
;; Dynamically scoped variables.
40+
;; Dynamically scoped internal variables.
4141
(defvar following-token)
4242
(defvar current-token)
4343
(defvar left-indent)
@@ -47,6 +47,7 @@
4747
(defvar parse-line-number)
4848
(defvar possible-indentations)
4949
(defvar indentation-point)
50+
(defvar purescript-indent-last-position)
5051

5152
(defgroup purescript-indentation nil
5253
"PureScript indentation."
@@ -117,9 +118,6 @@
117118
(define-key keymap [?\C-d] 'purescript-indentation-delete-char)
118119
keymap))
119120

120-
;; Used internally
121-
(defvar purescript-indent-last-position)
122-
123121
;;;###autoload
124122
(define-minor-mode purescript-indentation-mode
125123
"PureScript indentation mode that deals with the layout rule.

0 commit comments

Comments
 (0)