Skip to content

Commit

Permalink
package-build--write-pkg-file: Properly quote summary
Browse files Browse the repository at this point in the history
Closes #90.
  • Loading branch information
tarsius committed Sep 30, 2024
1 parent dd32541 commit de9613f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de9613f

Please sign in to comment.