Skip to content

Commit c3d297c

Browse files
committed
purescript-indentation.el: improve visibility into local variables
Turning on lexical-binding fixes a bunch of warnings like: purescript-indentation.el:399:47: Warning: ‘pi’ is an obsolete variable (as of 23.3); use ‘float-pi’ instead. these warnings are caused by Emacs not being able to determine that `pi` is actually a local variable. By making use of lexical binding we make Emacs to be able to see through that.
1 parent eacc61a commit c3d297c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

purescript-indentation.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; purescript-indentation.el -- indentation module for PureScript Mode
1+
;;; purescript-indentation.el -- indentation module for PureScript Mode -*- lexical-binding: t -*-
22

33
;; Copyright (C) 2009 Kristof Bastiaensen
44

0 commit comments

Comments
 (0)