remove unneeded progn

This commit is contained in:
conao3 2020-02-15 18:09:39 +09:00
parent 8f9f1a0074
commit 9a592a3e1d
No known key found for this signature in database
GPG key ID: F4B6A5A98EB01936

6
aqi.el
View file

@ -77,9 +77,9 @@
(defun aqi--city-cache-update (city) (defun aqi--city-cache-update (city)
"Add or update cached data for a given CITY." "Add or update cached data for a given CITY."
(progn (aqi--city-cache-clear city) (aqi--city-cache-clear city)
(push (cons city (aqi-request city)) (push (cons city (aqi-request city))
aqi-cached-data))) aqi-cached-data))
(defun aqi--city-cache-get (city) (defun aqi--city-cache-get (city)
"Add or update cached data for a given CITY." "Add or update cached data for a given CITY."