summaryrefslogtreecommitdiff
path: root/wttrin.el
diff options
context:
space:
mode:
Diffstat (limited to 'wttrin.el')
-rw-r--r--wttrin.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/wttrin.el b/wttrin.el
index c42c874..199ade6 100644
--- a/wttrin.el
+++ b/wttrin.el
@@ -42,6 +42,9 @@
(buf (get-buffer-create name)))
(switch-to-buffer buf))
(insert (xterm-color-filter (wttrin-fetch wttrin-query)))
+ (goto-char (point-min))
+ (re-search-forward "^$")
+ (delete-region (point-min) (1+ (point)))
(setq buffer-read-only t))
(provide 'wttrin)