emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stefan Monnier
Subject: master 98f7665677b: * lisp/emacs-lisp/pp.el (pp-28): Fix typo
Date: Tue, 5 Sep 2023 12:29:48 -0400 (EDT)

branch: master
commit 98f7665677b6b6964344a82ee60fc698afda1018
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/emacs-lisp/pp.el (pp-28): Fix typo
    
    Reported by Mattias EngdegÄrd <mattias.engdegard@gmail.com>.
---
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]