From 99ff77e550ca38a6ff578b59b3242235d3ded557 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 28 Oct 2010 15:54:51 +0200 Subject: [PATCH] Center icons --- org-google-weather.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/org-google-weather.el b/org-google-weather.el index 1ab89fc..e8178db 100644 --- a/org-google-weather.el +++ b/org-google-weather.el @@ -125,11 +125,12 @@ If LOCATION is not set, use org-google-weather-location." `((?i . ,(if (and icon org-google-weather-display-icon-p) (propertize "icon" 'display - (create-image - (concat - org-google-weather-icon-directory - "/" - icon)) + (append + (create-image + (concat + org-google-weather-icon-directory + "/" + icon)) '(:ascent center)) 'rear-nonsticky '(display)) "")) (?c . ,condition) -- 2.11.4.GIT