summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl X. Su <bcbcarl@gmail.com>2017-03-23 11:53:14 +0800
committerCarl X. Su <bcbcarl@gmail.com>2017-03-23 11:53:14 +0800
commit00ae9ee54056b16bb20c5b35e6bd262e6bda7eb5 (patch)
tree1036cf77af67e653046cf32b4fb0212ed422ae43
parent33503cce4f0c6187e0267fba75839717814d977c (diff)
Support Accept-Language header
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
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.