From: Stefan Monnier Date: Tue, 5 Sep 2023 16:29:44 +0000 (-0400) Subject: * lisp/emacs-lisp/pp.el (pp-28): Fix typo X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98f7665677b6b6964344a82ee60fc698afda1018;p=emacs.git * lisp/emacs-lisp/pp.el (pp-28): Fix typo Reported by Mattias EngdegÄrd . --- diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el index 50e0e7d1da4..a93e634c685 100644 --- a/lisp/emacs-lisp/pp.el +++ b/lisp/emacs-lisp/pp.el @@ -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