* lisp/emacs-lisp/pp.el (pp-28): Fix typo

Reported by Mattias Engdegård <mattias.engdegard@gmail.com>.
This commit is contained in:
Stefan Monnier 2023-09-05 12:29:44 -04:00
parent 98ae14b147
commit 98f7665677

View file

@ -262,7 +262,7 @@ Non-interactively can also be called with a single argument, in which
case that argument will be inserted pretty-printed at point."
(interactive "r")
(if (null end) (pp--object beg #'pp-29)
(save-restriction beg end
(with-restriction beg end
(goto-char (point-min))
(while (not (eobp))
(cond