Skip to content

Commit 9412ed0

Browse files
committed
purescript-indent.el: make purescript-indent-mode truly buffer-local
It was defined with `defvar` and then made into buffer-local with (make-variable-buffer-local). The call though was only executed once, which is likely an omission. Fix that and make it truly buffer-local.
1 parent 4e94b7d commit 9412ed0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

purescript-indent.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,9 +1486,8 @@ One indentation cycle is used."
14861486

14871487
;;; purescript-indent-mode
14881488

1489-
(defvar purescript-indent-mode nil
1489+
(defvar-local purescript-indent-mode nil
14901490
"Non-nil if the semi-intelligent PureScript indentation mode is in effect.")
1491-
(make-variable-buffer-local 'purescript-indent-mode)
14921491

14931492
(defvar purescript-indent-map
14941493
(let ((map (make-sparse-keymap)))

0 commit comments

Comments
 (0)