branch: elpa/scala-mode
commit 63310cf96091d8a11008de2366176d5be87f06f2
Author: Platon Pronko <[email protected]>
Commit: Platon Pronko <[email protected]>
do not convert lexical-binding to local variable
This fixes the warning "Making lexical-binding buffer-local while locally
let-bound!".
lexical-binding is already enabled in the file via comment on the first
line, so we can just remove this snippet.
---
scala-mode-imenu.el | 4 ----
1 file changed, 4 deletions(-)
diff --git a/scala-mode-imenu.el b/scala-mode-imenu.el
index 2850d10b19c..301c939779f 100644
--- a/scala-mode-imenu.el
+++ b/scala-mode-imenu.el
@@ -6,10 +6,6 @@
(require 'scala-mode-syntax)
-;; Make lambdas proper clousures (only in this file)
-(make-local-variable 'lexical-binding)
-(setq lexical-binding t)
-
(defcustom scala-imenu:should-flatten-index t
"Controls whether or not the imenu index is flattened or hierarchical."
:type 'boolean