summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRémi Vanicat <vanicat@debian.org>2013-03-31 21:16:39 +0200
committerRémi Vanicat <vanicat@debian.org>2013-03-31 21:16:39 +0200
commitc9f91992031967e9f378da1a14b92bc6f9276c90 (patch)
treef64a650be8f6cff4c580d4550d22c30841281fbe /lisp
parentefed5eb4bfd35a75e013c70f76c34452542eee5e (diff)
downloadfork-ledger-c9f91992031967e9f378da1a14b92bc6f9276c90.tar.gz
fork-ledger-c9f91992031967e9f378da1a14b92bc6f9276c90.tar.bz2
fork-ledger-c9f91992031967e9f378da1a14b92bc6f9276c90.zip
Use (fit-window-to-buffer) for error reporting.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ldg-exec.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ldg-exec.el b/lisp/ldg-exec.el
index 51443ff4..c09b364d 100644
--- a/lisp/ldg-exec.el
+++ b/lisp/ldg-exec.el
@@ -45,6 +45,7 @@
(with-current-buffer (get-buffer-create "*Ledger Error*")
(insert-buffer-substring ledger-output)
(make-frame)
+ (fit-window-to-buffer)
(view-mode)
(setq buffer-read-only t)))