]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/project.el: Don't truncate the saved project list.
authorJuri Linkov <juri@linkov.net>
Sun, 8 Nov 2020 19:45:02 +0000 (21:45 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 8 Nov 2020 19:45:02 +0000 (21:45 +0200)
* 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

index 6c647a092a97b2344da8c7f4d9f5900882830274..a648618e828385e373feb5bf63e7e92f6886d8e6 100644 (file)
@@ -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