A recent commit on Emacs master branch changes the return value of
pp:
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d3311499339fab0371cb7502a1e2481fbcd2c65d
The function does not document a stable return value, either.
This causes babel emacs-lisp source blocks to return "nil" for the
value. e.g.
#+begin_src emacs-lisp :lexical t :results value code :exports
both
(list 1 2 3)
#+end_src
#+RESULTS:
#+begin_src emacs-lisp
nil
#+end_src
Emacs : GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+
Version 3.24.43, cairo version 1.18.2)
of 2025-01-26
Package: Org mode version 9.8-pre (9.8-pre-n/a-gc2d57d
@ /home/n/.emacs.d/elpaca/builds/org/)