diff options
| author | kuanyui <azazabc123@gmail.com> | 2016-03-06 01:21:22 +0800 |
|---|---|---|
| committer | kuanyui <azazabc123@gmail.com> | 2016-03-06 01:21:22 +0800 |
| commit | 00d2e385a5c939bc4fe673a9bb6de5d8b62f7354 (patch) | |
| tree | 59b3d60eafb9edc83bad20bcab09f123bf9a98a8 | |
| parent | 06f7449302f60d4a35ff4c2dd16f70e1beda8472 (diff) | |
Rename function
| -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)))) |
