[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 35cd9197fc: package.el: Fix bug#53529
From: |
Stefan Monnier |
Subject: |
master 35cd9197fc: package.el: Fix bug#53529 |
Date: |
Sat, 29 Jan 2022 17:51:17 -0500 (EST) |
branch: master
commit 35cd9197fc3bda7576b3c343d1183360067dccd2
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
package.el: Fix bug#53529
* lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
Enforce Unix EOLs.
---
lisp/emacs-lisp/package.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index aa3e48155c..2e01449613 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1005,7 +1005,8 @@ untar into a directory named DIR; otherwise, signal an
error."
"Make sure that the autoload file FILE exists and if not create it."
(unless (file-exists-p file)
(require 'autoload)
- (write-region (autoload-rubric file "package" nil) nil file nil 'silent))
+ (let ((coding-system-for-write 'utf-8-emacs-unix))
+ (write-region (autoload-rubric file "package" nil) nil file nil
'silent)))
file)
(defvar autoload-timestamps)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 35cd9197fc: package.el: Fix bug#53529,
Stefan Monnier <=