Skip to content

Commit

Permalink
package-build--write-pkg-file: Go back to using emacs-lisp-mode
Browse files Browse the repository at this point in the history
`lisp-data-mode' was only added in Emacs 28.1.

Closes melpa/melpa#9193.
  • Loading branch information
tarsius committed Sep 29, 2024
1 parent 89477a4 commit dd32541
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd32541

Please sign in to comment.