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

Full log


View this message in rfc822 format

From: Michael Krasnyk <michael.krasnyk <at> gmail.com>
To: 77661 <at> debbugs.gnu.org
Cc: Michael Krasnyk <michael.krasnyk <at> gmail.com>
Subject: bug#77661: [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 71 days ago.

Previous Next


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