From dd32541fc45a4f3afb1dfc9637d1b21d2b56f60e Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Sun, 29 Sep 2024 21:39:37 +0200 Subject: [PATCH] package-build--write-pkg-file: Go back to using emacs-lisp-mode `lisp-data-mode' was only added in Emacs 28.1. Closes melpa/melpa#9193. --- package-build.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package-build.el b/package-build.el index b80e105..57f7df5 100644 --- a/package-build.el +++ b/package-build.el @@ -1019,8 +1019,7 @@ Use a sandbox if `package-build--use-sandbox' is non-nil." (defun package-build--write-pkg-file (rcp dir) (pcase-let (((eieio name version summary dependencies) rcp)) (with-temp-file (expand-file-name (format "%s-pkg.el" name) dir) - (insert - ";; -*- mode: lisp-data; no-byte-compile: t; lexical-binding: nil -*-\n") + (insert ";; -*- no-byte-compile: t; lexical-binding: nil -*-\n") (insert (format "(define-package \"%s\" \"%s\"\n" name version)) (insert (format " \"%s.\"\n" summary)) (if dependencies