guix_mirror_bot pushed a commit to branch emacs-team
in repository guix.

commit 7fdb447fbf6bbabb1c524b4997b7ed1017680174
Author: Morgan Smith <[email protected]>
AuthorDate: Wed Jun 24 12:34:17 2026 -0400

    gnu: emacs: Fix warnings in "guix-emacs.el".
    
    These warnings show up on newer Emacs versions.
    
    * gnu/packages/aux-files/emacs/guix-emacs.el: Install lexical binding cookie
    correctly.
    (guix-emacs-autoloads-regexp): Use ‘not-newline’ instead of ‘any’.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/aux-files/emacs/guix-emacs.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el 
b/gnu/packages/aux-files/emacs/guix-emacs.el
index 2b9d29ae7b..3d58e61d8a 100644
--- a/gnu/packages/aux-files/emacs/guix-emacs.el
+++ b/gnu/packages/aux-files/emacs/guix-emacs.el
@@ -1,5 +1,4 @@
-;;; -*- lexical-binding: t; -*-
-;;; guix-emacs.el --- Emacs packages installed with Guix
+;;; guix-emacs.el --- Emacs packages installed with Guix -*- lexical-binding: 
t; -*-
 
 ;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <[email protected]>
 ;; Copyright © 2017 Kyle Meyer <[email protected]>
@@ -31,7 +30,7 @@
 (declare-function package-load-descriptor "package" (pkg-dir))
 
 (defvar guix-emacs-autoloads-regexp
-  (rx (* any) "-autoloads.el" (zero-or-one "c") string-end)
+  (rx (* not-newline) "-autoloads.el" (zero-or-one "c") string-end)
   "Regexp to match files containing autoload definitions.
 
 Historically, this used to be the package name followed by \"-autoloads.el\".

Reply via email to