Further fixes for package-quickstart-refresh printing
* lisp/emacs-lisp/package.el (package-quickstart-refresh): Really ensure that the structures aren't shortened (bug#49924).
This commit is contained in:
parent
e5b2e5356f
commit
fbd3207bb2
1 changed files with 5 additions and 3 deletions
|
@ -4152,6 +4152,10 @@ activations need to be changed, such as when `package-load-list' is modified."
|
|||
(package-activated-list ())
|
||||
;; Make sure we can load this file without load-source-file-function.
|
||||
(coding-system-for-write 'emacs-internal)
|
||||
;; Ensure that `pp' and `prin1-to-string' calls further down
|
||||
;; aren't truncated.
|
||||
(print-length nil)
|
||||
(print-level nil)
|
||||
(Info-directory-list '("")))
|
||||
(dolist (elt package-alist)
|
||||
(condition-case err
|
||||
|
@ -4169,9 +4173,7 @@ activations need to be changed, such as when `package-load-list' is modified."
|
|||
;; Prefer uncompiled files (and don't accept .so files).
|
||||
(let ((load-suffixes '(".el" ".elc")))
|
||||
(locate-library (package--autoloads-file-name pkg))))
|
||||
(pfile (let ((print-length nil)
|
||||
(print-level nil))
|
||||
(prin1-to-string file))))
|
||||
(pfile (prin1-to-string file)))
|
||||
(insert "(let ((load-true-file-name " pfile ")\
|
||||
(load-file-name " pfile "))\n")
|
||||
(insert-file-contents file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue