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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3 From 743a7e044d1fb748947781c09c25a0e9e960933f Mon Sep 17 00:00:00 2001 From: kuanyui Date: Sun, 6 Mar 2016 02:08:50 +0800 Subject: wttrin-default-cities & completion --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b0c1859..d3055ec 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,15 @@ Emacs frontend for weather web service [wttr.in]. -wttrin.el provides the weather information from wttr.in based on your -query condition. - ## Usage -Set variable `wttrin-query`: +set a default cities list for completion: ```elisp -(defvar wttrin-query "Taipei") +(setq wttrin-default-city "Taipei") ``` -Run `M-x wttrin` to get the information: +Then run `M-x wttrin` to get the information. ![screenshot] -- cgit v1.2.3