Subject: bug#44188: [PATCH] Use lexical binding for several Elisp files

From: Brian Leung <[email-masked]>
Date: Sat, 24 Oct 2020 01:23:36 +0200 (CEST)

I enforced lexical binding in a few other files.

-- 
Sent with https://mailfence.com
Secure and private email

>From 908a188298035e45d1c35f95d550312bfb146b46 Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Fri, 23 Oct 2020 16:11:29 -0700
Subject: [PATCH 1/4] Use lexical binding in wdired.el

---
 lisp/wdired.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/wdired.el b/lisp/wdired.el
index da162b7bb2..b675ec8bfb 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -1,4 +1,4 @@
-;;; wdired.el --- Rename files editing their names in dired buffers -*- coding: utf-8; -*-
+;;; wdired.el --- Rename files editing their names in dired buffers -*- lexical-binding: t; coding: utf-8 -*-
 
 ;; Copyright (C) 2004-2020 Free Software Foundation, Inc.
 
-- 
2.28.0

>From ae7d3352f9ca4d919fab3917cef84734178a9a66 Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Fri, 23 Oct 2020 16:17:46 -0700
Subject: [PATCH 2/4] Use lexical binding in wid-browse.el

---
 lisp/wid-browse.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/wid-browse.el b/lisp/wid-browse.el
index 53f918cff9..b7171dcb45 100644
--- a/lisp/wid-browse.el
+++ b/lisp/wid-browse.el
@@ -1,4 +1,4 @@
-;;; wid-browse.el --- functions for browsing widgets
+;;; wid-browse.el --- functions for browsing widgets -*- lexical-binding: t -*-
 ;;
 ;; Copyright (C) 1997, 2001-2020 Free Software Foundation, Inc.
 ;;
-- 
2.28.0

>From 2814d5d6841e4c1545d983513c9978a1b4bd9a22 Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Fri, 23 Oct 2020 16:20:01 -0700
Subject: [PATCH 3/4] Use lexical binding in widget.el

---
 lisp/widget.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/widget.el b/lisp/widget.el
index 8f1e090161..dcf770ea30 100644
--- a/lisp/widget.el
+++ b/lisp/widget.el
@@ -1,4 +1,4 @@
-;;; widget.el --- a library of user interface components
+;;; widget.el --- a library of user interface components -*- lexical-binding: t -*-
 ;;
 ;; Copyright (C) 1996-1997, 2001-2020 Free Software Foundation, Inc.
 ;;
-- 
2.28.0

>From b5806eab32c71bb1c16b312c5431fe88d77d862e Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
Date: Fri, 23 Oct 2020 16:20:07 -0700
Subject: [PATCH 4/4] Use lexical binding in winner.el

---
 lisp/winner.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/winner.el b/lisp/winner.el
index 4313e76719..e55ab710c4 100644
--- a/lisp/winner.el
+++ b/lisp/winner.el
@@ -1,4 +1,4 @@
-;;; winner.el --- Restore old window configurations
+;;; winner.el --- Restore old window configurations -*- lexical-binding: t -*-
 
 ;; Copyright (C) 1997-1998, 2001-2020 Free Software Foundation, Inc.
 
-- 
2.28.0