diff options
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | wttrin.el | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -13,7 +13,7 @@ Set variable `wttrin-query`: (defvar wttrin-query "Taipei") ``` -Run `M-x wttrin-exec` to get the information: +Run `M-x wttrin` to get the information: ![screenshot] @@ -22,4 +22,4 @@ Run `M-x wttrin-exec` to get the information: MIT [wttr.in]: http://wttr.in/ -[screenshot]: wttrin.png
\ No newline at end of file +[screenshot]: wttrin.png @@ -35,7 +35,7 @@ (decode-coding-string (buffer-string) 'utf-8)))) -(defun wttrin-exec () +(defun wttrin () "Display weather information." (interactive) (let ((buf (get-buffer-create (format "*wttr.in - %s*" wttrin-query)))) |
