Julien Danjou <jul...@danjou.info> writes: > Hi folks, > > If anybody is interested, I've wrote an small extension to put some > weather forecasts in the agenda. > > It can be found here[1]. I've blogged about it yesterday, so if you're > curious you can read the entry[2]. > > Happy hacking, > > [1] http://julien.danjou.info/google-weather-el.html > [2] http://julien.danjou.info/blog/
Here is a small patch to make it a bit cleaner in non GUI emacs (-nw) :- --8<---------------cut here---------------start------------->8--- Modified google-weather.el diff --git a/google-weather.el b/google-weather.el index 393a3cf..898c91b 100644 --- a/google-weather.el +++ b/google-weather.el @@ -162,8 +162,8 @@ See `google-weather-retrieve-data' for the use of EXPIRE-TIME." `(,forecast-encoded-date (low ,(google-weather-assoc 'low forecast)) (high ,(google-weather-assoc 'high forecast)) - (icon ,(concat google-weather-image-url - (google-weather-assoc 'icon forecast))) + (icon ,(if (window-system) (concat google-weather-image-url + (google-weather-assoc 'icon forecast)) "")) (condition ,(google-weather-assoc 'condition forecast))))) (loop for entry in (google-weather-data->weather data) when (eq (car entry) 'forecast_conditions) --8<---------------cut here---------------end--------------->8--- -- ☘ http://www.shamrockirishbar.com, http://www.richardriley.net "Learning French is trivial: the word for horse is 'cheval' and everything follows thusly." _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode