From 00ae9ee54056b16bb20c5b35e6bd262e6bda7eb5 Mon Sep 17 00:00:00 2001 From: "Carl X. Su" Date: Thu, 23 Mar 2017 11:53:14 +0800 Subject: Support Accept-Language header --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 07ff286..f67b6bd 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,12 @@ Set a default cities list for completion: (setq wttrin-default-cities '("Taipei" "Tainan")) ``` +You can also specify default HTTP request Header for Accept-Language: + +```elisp +(setq wttrin-default-accept-language '("Accept-Language" . "zh-TW")) +``` + Then run `M-x wttrin` to get the information. When the weather is displayed you can press `q` to quit the buffer or `g` to query for another city. -- cgit v1.2.3