GNU bug report logs - #77661
[PATCH] Add lexical-binding cookie to savehist template

Previous Next

Package: emacs;

Reported by: Michael Krasnyk <michael.krasnyk <at> gmail.com>

Date: Wed, 9 Apr 2025 01:02:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77661 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#77661; Package emacs. (Wed, 09 Apr 2025 01:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Krasnyk <michael.krasnyk <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 09 Apr 2025 01:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Krasnyk <michael.krasnyk <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Michael Krasnyk <michael.krasnyk <at> gmail.com>
Subject: [PATCH] Add lexical-binding cookie to savehist template
Date: Tue,  8 Apr 2025 22:22:45 +0200
---
 lisp/savehist.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/savehist.el b/lisp/savehist.el
index 2a5ffb8c..29a5f578 100644
--- a/lisp/savehist.el
+++ b/lisp/savehist.el
@@ -242,7 +242,7 @@ savehist-save
     (insert
      (format-message
       (concat
-       ";; -*- mode: emacs-lisp; coding: %s -*-\n"
+       ";; -*- mode: emacs-lisp; lexical-binding: t; coding: %s -*-\n"
        ";; Minibuffer history file, automatically generated by `savehist'.\n"
        "\n")
       savehist-coding-system))
-- 
2.49.0





This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.