From de9613ff6e5b1d4bbfd93dc162f4f36c21465088 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 30 Sep 2024 13:02:01 +0200 Subject: [PATCH] package-build--write-pkg-file: Properly quote summary Closes #90. --- package-build.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-build.el b/package-build.el index 57f7df5..c7ad0f4 100644 --- a/package-build.el +++ b/package-build.el @@ -1021,7 +1021,7 @@ Use a sandbox if `package-build--use-sandbox' is non-nil." (with-temp-file (expand-file-name (format "%s-pkg.el" name) dir) (insert ";; -*- no-byte-compile: t; lexical-binding: nil -*-\n") (insert (format "(define-package \"%s\" \"%s\"\n" name version)) - (insert (format " \"%s.\"\n" summary)) + (insert (format " %s\n" (prin1-to-string (concat summary ".")))) (if dependencies (let ((format (format "(%%-%ds \"%%s\")" (apply #'max 0