 ;; Author: Carl X. Su <bcbcarl@gmail.com>
 ;;         ono hiroko (kuanyui) <azazabc123@gmail.com>
 ;; Version: 0.2.0
-;; Package-Requires: ((emacs "24.4") (xterm-color "20150823.646"))
+;; Package-Requires: ((emacs "24.4") (xterm-color "1.0"))
 ;; Keywords: comm, weather, wttrin
 ;; URL: https://github.com/bcbcarl/emacs-wttrin
 

      (let ((buffer (get-buffer-create (format "*wttr.in - %s*" city-name))))
        (switch-to-buffer buffer)
        (setq buffer-read-only nil)
        (delete-region (point-min) (point-max))
        (insert (xterm-color-filter raw-string))
        (goto-char (point-min))
        (re-search-forward "^$")

(defun wttrin ()
  "Display weather information."
  (interactive)
  (wttrin-query (completing-read "City name: " wttrin-default-cities nil nil)))

(provide 'wttrin)

