diff options
| author | Carl X. Su <bcbcarl@gmail.com> | 2017-03-23 11:53:14 +0800 |
|---|---|---|
| committer | Carl X. Su <bcbcarl@gmail.com> | 2017-03-23 11:53:14 +0800 |
| commit | 00ae9ee54056b16bb20c5b35e6bd262e6bda7eb5 (patch) | |
| tree | 1036cf77af67e653046cf32b4fb0212ed422ae43 | |
| parent | 33503cce4f0c6187e0267fba75839717814d977c (diff) | |
Support Accept-Language header
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |
