branch: elpa-admin commit 0954fdeb4d54c43e8f7e54251296685009a2c471 Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
* elpa-admin.el (elpaa--write-pkg-file): Fix header line generation --- elpa-admin.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elpa-admin.el b/elpa-admin.el index 7e6db3fbf3..9ff01721ab 100644 --- a/elpa-admin.el +++ b/elpa-admin.el @@ -1519,12 +1519,12 @@ Rename DIR/ to PKG-VERS/, and return the descriptor." (cdr metadata))) (write-region (concat (format ";; Generated package description from %s.el -*- %sno-byte-compile: t -*-\n" + name (let* ((emacs-req (assq 'emacs requires)) (emacs-vers (car (cadr emacs-req)))) (if (not (and emacs-vers (>= emacs-vers 28))) "" ;Need compatibility with Emacs<28. - "mode: lisp-data; ")) - name) + "mode: lisp-data; "))) (prin1-to-string (nconc (list 'define-package