unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Leung via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 44188@debbugs.gnu.org
Subject: bug#44188: [PATCH] Use lexical binding for several Elisp files
Date: Sat, 24 Oct 2020 01:23:36 +0200 (CEST)	[thread overview]
Message-ID: <930162507.128721.1603495416517@ichabod.co-bxl> (raw)
In-Reply-To: <649664717.128563.1603494942107@ichabod.co-bxl>

[-- Attachment #1: Type: text/plain, Size: 115 bytes --]

I enforced lexical binding in a few other files.

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

[-- Attachment #2: File Attachment: 0001-Use-lexical-binding-in-wdired.el.patch --]
[-- Type: text/x-diff, Size: 698 bytes --]

From 908a188298035e45d1c35f95d550312bfb146b46 Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@mailfence.com>
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


[-- Attachment #3: File Attachment: 0002-Use-lexical-binding-in-wid-browse.el.patch --]
[-- Type: text/x-diff, Size: 664 bytes --]

From ae7d3352f9ca4d919fab3917cef84734178a9a66 Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@mailfence.com>
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


[-- Attachment #4: File Attachment: 0003-Use-lexical-binding-in-widget.el.patch --]
[-- Type: text/x-diff, Size: 653 bytes --]

From 2814d5d6841e4c1545d983513c9978a1b4bd9a22 Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@mailfence.com>
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


[-- Attachment #5: File Attachment: 0004-Use-lexical-binding-in-winner.el.patch --]
[-- Type: text/x-diff, Size: 639 bytes --]

From b5806eab32c71bb1c16b312c5431fe88d77d862e Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@mailfence.com>
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


  reply	other threads:[~2020-10-23 23:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-23 23:15 bug#44188: [PATCH] Use lexical binding in wdired.el Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-23 23:23 ` Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2020-10-26 16:01   ` Lars Ingebrigtsen
2021-05-11 13:37     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=930162507.128721.1603495416517@ichabod.co-bxl \
    --to=bug-gnu-emacs@gnu.org \
    --cc=44188@debbugs.gnu.org \
    --cc=leungbk@mailfence.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).