No Wayman <iarchivedmywholel...@gmail.com> writes:

> 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

Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5e17097099
`pp-to-string' instead of `pp' works here as we do not pass optional
argument. Without optional argument, `pp-to-string' behaves exactly like `pp'.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to