emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/gnugo eae8444 113/357: [gnugo int] Specify STREAM to ‘


From: Stefan Monnier
Subject: [elpa] externals/gnugo eae8444 113/357: [gnugo int] Specify STREAM to ‘pp’ directly.
Date: Sun, 29 Nov 2020 14:51:01 -0500 (EST)

branch: externals/gnugo
commit eae844490b019d3c2f2c58d7a4d7ef6251006931
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>

    [gnugo int] Specify STREAM to ‘pp’ directly.
    
    * packages/gnugo/gnugo.el (gnugo-describe-internal-properties):
    ...here, instead of ‘let’-binding ‘standard-output’.
---
 gnugo.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnugo.el b/gnugo.el
index c271f8e..a097075 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -273,8 +273,8 @@ Handle the big, slow-to-render, and/or uninteresting ones 
specially."
     (emacs-lisp-mode)
     (setq truncate-lines t)
     (save-excursion
-      (let ((standard-output (current-buffer)))
-        (pp (reverse acc)))
+      (pp (reverse acc)
+          (current-buffer))
       (goto-char (point-min))
       (let ((rx (format "overlay from \\([0-9]+\\).+\n%s\\s-+"
                         (if (string= "" d)



reply via email to

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