summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--wttrin.el2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 65c0616..b0c1859 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/wttrin.el b/wttrin.el
index 564eb81..87c2471 100644
--- a/wttrin.el
+++ b/wttrin.el
@@ -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))))