summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wttrin.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/wttrin.el b/wttrin.el
index b2a3d97..c42c874 100644
--- a/wttrin.el
+++ b/wttrin.el
@@ -12,6 +12,8 @@
;; Provides the weather information from wttr.in based on your query condition.
;;; Code:
+(require 'url)
+(require 'xterm-color)
(defgroup wttrin nil
"Emacs frontend for weather web service wttr.in."
@@ -32,7 +34,7 @@
(lambda (status) (switch-to-buffer (current-buffer))))
(decode-coding-string (buffer-string) 'utf-8))))
-(require 'xterm-color)
+
(defun wttrin-exec ()
"Display weather information."
(interactive)