guile-devel
[Top][All Lists]
Advanced

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

[PATCH] set width for `,trace' command


From: BT Templeton
Subject: [PATCH] set width for `,trace' command
Date: Fri, 22 Jul 2011 11:35:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

* module/system/repl/command.scm (trace): Set trace width to terminal
  width by default.
---
 module/system/repl/command.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/module/system/repl/command.scm b/module/system/repl/command.scm
index a2f2a6f..98325cb 100644
--- a/module/system/repl/command.scm
+++ b/module/system/repl/command.scm
@@ -514,7 +514,7 @@ Trace execution."
   ;; FIXME: doc options, or somehow deal with them better
   (apply call-with-trace
          (repl-prepare-eval-thunk repl (repl-parse repl form))
-         opts))
+         (cons* #:width (terminal-width) opts)))
 
 
 ;;;
-- 
1.7.5.4




reply via email to

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