summaryrefslogtreecommitdiff
path: root/wttrin.el
diff options
context:
space:
mode:
Diffstat (limited to 'wttrin.el')
-rw-r--r--wttrin.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/wttrin.el b/wttrin.el
index ca35eca..a56b248 100644
--- a/wttrin.el
+++ b/wttrin.el
@@ -12,6 +12,7 @@
;; Provides the weather information from wttr.in based on your query condition.
;;; Code:
+
(require 'url)
(require 'xterm-color)
(require 'ido)
@@ -22,7 +23,7 @@
:group 'comm)
(defcustom wttrin-default-cities '("Taipei" "Keelung" "Taichung" "Tainan")
- "Specify default cities list to for quick completion"
+ "Specify default cities list for quick completion."
:group 'wttrin
:type 'list)
@@ -36,8 +37,7 @@
(decode-coding-string (buffer-string) 'utf-8))))
(defun wttrin-query (city-name)
- "Query weather of CITY-NAME via wttrin, and display the result
-in another buffer."
+ "Query weather of CITY-NAME via wttrin, and display the result in new buffer."
(let ((raw-string (wttrin-fetch-raw-string city-name)))
(if (string-match "ERROR" raw-string)
(message "Cannot get weather data. Maybe you inputed a wrong city name?")