fix trivial issues #2

Closed
conao3 wants to merge 3 commits from feature into master

6
aqi.el
View file

@ -1,4 +1,4 @@
;;; aqi.el --- Air quality data from the World Air Quality Index. -*- lexical-binding: t; -*- ;;; aqi.el --- Air quality data from the World Air Quality Index -*- lexical-binding: t; -*-
;; Copyright 2020 FoAM ;; Copyright 2020 FoAM
;; ;;
@ -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."