From 98f7665677b6b6964344a82ee60fc698afda1018 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 5 Sep 2023 12:29:44 -0400 Subject: [PATCH] * lisp/emacs-lisp/pp.el (pp-28): Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported by Mattias Engdegård . --- lisp/emacs-lisp/pp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2