]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/pp.el (pp-28): Fix typo
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 5 Sep 2023 16:29:44 +0000 (12:29 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 5 Sep 2023 16:29:44 +0000 (12:29 -0400)
Reported by Mattias EngdegĂ„rd <mattias.engdegard@gmail.com>.

lisp/emacs-lisp/pp.el

index 50e0e7d1da4164c229e8d3536c34f160d0462fa6..a93e634c685ab9f7216375079c9c5943113ae8b9 100644 (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