emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/scala-mode 6415e6292d 1/7: treewide: enable lexical-bindin


From: ELPA Syncer
Subject: [nongnu] elpa/scala-mode 6415e6292d 1/7: treewide: enable lexical-binding
Date: Fri, 27 Dec 2024 19:00:37 -0500 (EST)

branch: elpa/scala-mode
commit 6415e6292d7a011747cc048869e3d7422912faaf
Author: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Commit: Konstantin Kharlamov <Hi-Angel@yandex.ru>

    treewide: enable lexical-binding
    
    Fixes:
    
        In toplevel form:
        scala-mode-lib.el:1:1: Warning: file has no ‘lexical-binding’ directive 
on its first line
    
        In toplevel form:
        scala-mode.el:1:1: Warning: file has no ‘lexical-binding’ directive on 
its first line
    
        In toplevel form:
        scala-mode-syntax.el:1:1: Warning: file has no ‘lexical-binding’ 
directive on its first line
    
        In toplevel form:
        scala-mode-indent.el:1:1: Warning: file has no ‘lexical-binding’ 
directive on its first line
    
        In toplevel form:
        scala-mode-paragraph.el:1:1: Warning: file has no ‘lexical-binding’ 
directive on its first line
    
        In toplevel form:
        scala-mode-prettify-symbols.el:1:1: Warning: file has no 
‘lexical-binding’ directive on its first line
    
        In toplevel form:
        scala-mode-imenu.el:1:1: Warning: file has no ‘lexical-binding’ 
directive on its first line
    
        In toplevel form:
        scala-mode-fontlock.el:1:1: Warning: file has no ‘lexical-binding’ 
directive on its first line
    
        In toplevel form:
        scala-mode-map.el:1:1: Warning: file has no ‘lexical-binding’ directive 
on its first line
---
 scala-mode-fontlock.el         | 2 +-
 scala-mode-imenu.el            | 4 ++--
 scala-mode-indent.el           | 2 +-
 scala-mode-lib.el              | 2 +-
 scala-mode-map.el              | 2 +-
 scala-mode-paragraph.el        | 2 +-
 scala-mode-prettify-symbols.el | 4 ++--
 scala-mode-syntax.el           | 2 +-
 scala-mode.el                  | 4 ++--
 scala-organise.el              | 4 ++--
 10 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/scala-mode-fontlock.el b/scala-mode-fontlock.el
index 7617259f88..469cb2cd75 100644
--- a/scala-mode-fontlock.el
+++ b/scala-mode-fontlock.el
@@ -1,4 +1,4 @@
-;;; scala-mode-fontlock.el - Major mode for editing scala, font-lock
+;;; scala-mode-fontlock.el - Major mode for editing scala, font-lock -*- 
lexical-binding: t -*-
 ;;; Copyright (c) 2012 Heikki Vesalainen
 ;;; For information on the License, see the LICENSE file
 
diff --git a/scala-mode-imenu.el b/scala-mode-imenu.el
index f06a52ea43..2850d10b19 100644
--- a/scala-mode-imenu.el
+++ b/scala-mode-imenu.el
@@ -1,4 +1,4 @@
-;;; scala-mode-imenu.el - Major mode for editing scala
+;;; scala-mode-imenu.el - Major mode for editing scala -*- lexical-binding: t 
-*-
 ;;; Copyright (c) 2014 Heikki Vesalainen
 ;;; For information on the License, see the LICENSE file
 
@@ -131,4 +131,4 @@
 
 
 (provide 'scala-mode-imenu)
-;;; scala-mode-imenu.el ends here
+;;; scala-mode-imenu.el ends here -*- lexical-binding: t -*-
diff --git a/scala-mode-indent.el b/scala-mode-indent.el
index ff9a04ca84..a037e527b3 100644
--- a/scala-mode-indent.el
+++ b/scala-mode-indent.el
@@ -1,4 +1,4 @@
-;;; scala-mode.el - Major mode for editing scala, indenting
+;;; scala-mode.el - Major mode for editing scala, indenting -*- 
lexical-binding: t -*-
 ;;; Copyright (c) 2012 Heikki Vesalainen
 ;;; For information on the License, see the LICENSE file
 
diff --git a/scala-mode-lib.el b/scala-mode-lib.el
index 538f3a0255..bfea47d24e 100644
--- a/scala-mode-lib.el
+++ b/scala-mode-lib.el
@@ -1,4 +1,4 @@
-;;; scala-mode-lib.el - Major mode for editing scala, common functions
+;;; scala-mode-lib.el - Major mode for editing scala, common functions -*- 
lexical-binding: t -*-
 ;;; Copyright (c) 2012 Heikki Vesalainen
 ;;; For information on the License, see the LICENSE file
 
diff --git a/scala-mode-map.el b/scala-mode-map.el
index b1014e9485..5991974eff 100644
--- a/scala-mode-map.el
+++ b/scala-mode-map.el
@@ -1,4 +1,4 @@
-;;; scala-mode-map.el - Major mode for editing scala, keyboard map
+;;; scala-mode-map.el - Major mode for editing scala, keyboard map -*- 
lexical-binding: t -*-
 ;;; Copyright (c) 2012 Heikki Vesalainen
 ;;; For information on the License, see the LICENSE file
 
diff --git a/scala-mode-paragraph.el b/scala-mode-paragraph.el
index 06fc7b2cb1..f45387d251 100644
--- a/scala-mode-paragraph.el
+++ b/scala-mode-paragraph.el
@@ -1,4 +1,4 @@
-;;; scala-mode-paragraph.el - Major mode for editing scala, paragraph
+;;; scala-mode-paragraph.el - Major mode for editing scala, paragraph -*- 
lexical-binding: t -*-
 ;;; detection and fill
 ;;; Copyright (c) 2012 Heikki Vesalainen For information on the License,
 ;;; see the LICENSE file
diff --git a/scala-mode-prettify-symbols.el b/scala-mode-prettify-symbols.el
index 3171addffc..299a3af62b 100644
--- a/scala-mode-prettify-symbols.el
+++ b/scala-mode-prettify-symbols.el
@@ -1,4 +1,4 @@
-;;; scala-mode-prettify-symbols.el --- Prettifying scala symbols -*- coding: 
utf-8; -*-
+;;; scala-mode-prettify-symbols.el --- Prettifying scala symbols -*- coding: 
utf-8; lexical-binding: t -*-
 
 ;; Copyright (c) 2016 Merlin Göttlinger
 ;; License: http://www.gnu.org/licenses/gpl.html
@@ -92,4 +92,4 @@ cats/scalaz/...).")
   :group 'scala)
 
 (provide 'scala-mode-prettify-symbols)
-;;; scala-mode-prettify-symbols.el ends here
+;;; scala-mode-prettify-symbols.el ends here -*- lexical-binding: t -*-
diff --git a/scala-mode-syntax.el b/scala-mode-syntax.el
index 12f6f1dbdd..ad84546414 100644
--- a/scala-mode-syntax.el
+++ b/scala-mode-syntax.el
@@ -1,4 +1,4 @@
-;;;; scala-mode-syntax.el - Major mode for editing scala, syntax
+;;;; scala-mode-syntax.el - Major mode for editing scala, syntax -*- 
lexical-binding: t -*-
 ;;; Copyright (c) 2012 Heikki Vesalainen
 ;;; For information on the License, see the LICENSE file
 
diff --git a/scala-mode.el b/scala-mode.el
index fe144626de..e0776ef0a9 100644
--- a/scala-mode.el
+++ b/scala-mode.el
@@ -1,4 +1,4 @@
-;;; scala-mode.el --- Major mode for editing Scala
+;;; scala-mode.el --- Major mode for editing Scala -*- lexical-binding: t -*-
 
 ;; Copyright (c) 2012 Heikki Vesalainen
 
@@ -182,4 +182,4 @@ When started, runs `scala-mode-hook'.
   (modify-coding-system-alist 'file "\\.\\(scala\\|sbt\\|worksheet\\.sc\\)\\'" 
'utf-8))
 
 (provide 'scala-mode)
-;;; scala-mode.el ends here
+;;; scala-mode.el ends here -*- lexical-binding: t -*-
diff --git a/scala-organise.el b/scala-organise.el
index 31da9fef7e..276ff7e480 100644
--- a/scala-organise.el
+++ b/scala-organise.el
@@ -1,4 +1,4 @@
-;;; scala-organise.el --- organise scala imports -*- lexical-binding: t -*-
+;;; scala-organise.el --- organise scala imports -*- lexical-binding: t -*- 
-*- lexical-binding: t -*-
 
 ;; Copyright (C) 2022 Sam Halliday
 ;; License: GPL 3 or any later version
@@ -100,4 +100,4 @@ converted into a single element list before being appended."
     (cons (cons key update) alist)))
 
 (provide 'scala-organise)
-;;; scala-organise.el ends here
+;;; scala-organise.el ends here -*- lexical-binding: t -*-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]