From 00d2e385a5c939bc4fe673a9bb6de5d8b62f7354 Mon Sep 17 00:00:00 2001 From: kuanyui Date: Sun, 6 Mar 2016 01:21:22 +0800 Subject: Rename function --- README.md | 4 ++-- wttrin.el | 2 +- 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)))) -- cgit v1.2.3