From: Juri Linkov Date: Sun, 8 Nov 2020 19:45:02 +0000 (+0200) Subject: * lisp/progmodes/project.el: Don't truncate the saved project list. X-Git-Tag: emacs-28.0.90~5212^2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=74de386a8a62f44520759320557a985dda923979;p=emacs.git * lisp/progmodes/project.el: Don't truncate the saved project list. * lisp/progmodes/project.el (project--write-project-list): Let-bind print-length and print-level to nil to not truncate the saved project list with unreadable ellipsis. --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 6c647a092a9..a648618e828 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -1160,7 +1160,9 @@ With some possible metadata (to be decided).") (let ((filename project-list-file)) (with-temp-buffer (insert ";;; -*- lisp-data -*-\n") - (pp project--list (current-buffer)) + (let ((print-length nil) + (print-level nil)) + (pp project--list (current-buffer))) (write-region nil nil filename nil 'silent)))) ;;;###autoload