From 74de386a8a62f44520759320557a985dda923979 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Sun, 8 Nov 2020 21:45:02 +0200 Subject: [PATCH] * 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. --- lisp/progmodes/project.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2