From: Stefan Kangas Date: Thu, 11 Feb 2021 19:59:41 +0000 (+0100) Subject: Use lexical-binding in various ede files X-Git-Tag: emacs-28.0.90~3803 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f29c7d61d7e143458a7452e4b1c439c85dbe3bc9;p=emacs.git Use lexical-binding in various ede files * lisp/cedet/ede/dired.el: * lisp/cedet/ede/emacs.el: * lisp/cedet/ede/make.el: * lisp/cedet/ede/proj-archive.el: * lisp/cedet/ede/proj-aux.el: * lisp/cedet/ede/proj-misc.el: * lisp/cedet/ede/proj-scheme.el: * lisp/cedet/ede/srecode.el: * lisp/cedet/ede/system.el: Use lexical-binding. --- diff --git a/lisp/cedet/ede/dired.el b/lisp/cedet/ede/dired.el index c85d4ee7924..7eb42ed9de8 100644 --- a/lisp/cedet/ede/dired.el +++ b/lisp/cedet/ede/dired.el @@ -1,4 +1,4 @@ -;;; ede/dired.el --- EDE extensions to dired. +;;; ede/dired.el --- EDE extensions to dired. -*- lexical-binding: t -*- ;; Copyright (C) 1998-2000, 2003, 2009-2021 Free Software Foundation, ;; Inc. diff --git a/lisp/cedet/ede/emacs.el b/lisp/cedet/ede/emacs.el index 1eb4c6395a4..332f09bc5b0 100644 --- a/lisp/cedet/ede/emacs.el +++ b/lisp/cedet/ede/emacs.el @@ -1,4 +1,4 @@ -;;; ede/emacs.el --- Special project for Emacs +;;; ede/emacs.el --- Special project for Emacs -*- lexical-binding: t -*- ;; Copyright (C) 2008-2021 Free Software Foundation, Inc. diff --git a/lisp/cedet/ede/make.el b/lisp/cedet/ede/make.el index 863d715e4f1..4f86558c626 100644 --- a/lisp/cedet/ede/make.el +++ b/lisp/cedet/ede/make.el @@ -1,4 +1,4 @@ -;;; ede/make.el --- General information about "make" +;;; ede/make.el --- General information about "make" -*- lexical-binding: t -*- ;;; Copyright (C) 2009-2021 Free Software Foundation, Inc. diff --git a/lisp/cedet/ede/proj-archive.el b/lisp/cedet/ede/proj-archive.el index 038f994e4f9..9da6374d09c 100644 --- a/lisp/cedet/ede/proj-archive.el +++ b/lisp/cedet/ede/proj-archive.el @@ -1,4 +1,4 @@ -;;; ede/proj-archive.el --- EDE Generic Project archive support +;;; ede/proj-archive.el --- EDE Generic Project archive support -*- lexical-binding: t -*- ;; Copyright (C) 1998-2001, 2009-2021 Free Software Foundation, Inc. @@ -45,7 +45,7 @@ "Linker object for creating an archive.") (cl-defmethod ede-proj-makefile-insert-source-variables :before - ((this ede-proj-target-makefile-archive) &optional moresource) + ((this ede-proj-target-makefile-archive) &optional _moresource) "Insert bin_PROGRAMS variables needed by target THIS. We aren't actually inserting SOURCE details, but this is used by the Makefile.am generator, so use it to add this important bin program." diff --git a/lisp/cedet/ede/proj-aux.el b/lisp/cedet/ede/proj-aux.el index f5bcebdd4cf..73259558a62 100644 --- a/lisp/cedet/ede/proj-aux.el +++ b/lisp/cedet/ede/proj-aux.el @@ -1,4 +1,4 @@ -;;; ede/proj-aux.el --- EDE Generic Project auxiliary file support +;;; ede/proj-aux.el --- EDE Generic Project auxiliary file support -*- lexical-binding: t -*- ;; Copyright (C) 1998-2000, 2007, 2009-2021 Free Software Foundation, ;; Inc. diff --git a/lisp/cedet/ede/proj-misc.el b/lisp/cedet/ede/proj-misc.el index 70132aff6c3..068e998d1a1 100644 --- a/lisp/cedet/ede/proj-misc.el +++ b/lisp/cedet/ede/proj-misc.el @@ -1,4 +1,4 @@ -;;; ede-proj-misc.el --- EDE Generic Project Emacs Lisp support +;;; ede-proj-misc.el --- EDE Generic Project Emacs Lisp support -*- lexical-binding: t -*- ;; Copyright (C) 1998-2001, 2008-2021 Free Software Foundation, Inc. diff --git a/lisp/cedet/ede/proj-scheme.el b/lisp/cedet/ede/proj-scheme.el index 51844af5361..b0e287895f3 100644 --- a/lisp/cedet/ede/proj-scheme.el +++ b/lisp/cedet/ede/proj-scheme.el @@ -1,4 +1,4 @@ -;;; ede/proj-scheme.el --- EDE Generic Project scheme (guile) support +;;; ede/proj-scheme.el --- EDE Generic Project scheme (guile) support -*- lexical-binding: t -*- ;; Copyright (C) 1998-2000, 2009-2021 Free Software Foundation, Inc. @@ -40,7 +40,7 @@ ) "This target consists of scheme files.") -(cl-defmethod ede-proj-tweak-autoconf ((this ede-proj-target-scheme)) +(cl-defmethod ede-proj-tweak-autoconf ((_this ede-proj-target-scheme)) "Tweak the configure file (current buffer) to accommodate THIS." (autoconf-insert-new-macro "AM_INIT_GUILE_MODULE")) diff --git a/lisp/cedet/ede/srecode.el b/lisp/cedet/ede/srecode.el index 5dd0a7ec614..dd009bfb31a 100644 --- a/lisp/cedet/ede/srecode.el +++ b/lisp/cedet/ede/srecode.el @@ -1,4 +1,4 @@ -;;; ede/srecode.el --- EDE utilities on top of SRecoder +;;; ede/srecode.el --- EDE utilities on top of SRecoder -*- lexical-binding: t -*- ;; Copyright (C) 2008-2021 Free Software Foundation, Inc. @@ -86,7 +86,6 @@ Note: Just like `srecode-insert', but templates found in `ede' app." (car (cdr dictionary-entries))) (setq dictionary-entries (cdr (cdr dictionary-entries)))) - )) (provide 'ede/srecode) diff --git a/lisp/cedet/ede/system.el b/lisp/cedet/ede/system.el index d83d6d1cc69..8ef38f0d33e 100644 --- a/lisp/cedet/ede/system.el +++ b/lisp/cedet/ede/system.el @@ -1,4 +1,4 @@ -;;; ede-system.el --- EDE working with the system (VC, FTP, ETC) +;;; ede-system.el --- EDE working with the system (VC, FTP, ETC) -*- lexical-binding: t -*- ;; Copyright (C) 2001-2003, 2009-2021 Free Software Foundation, Inc.