From 414a841c20c7d0193bc4116f95ec7c5aa6bcfb32 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 15 Aug 2016 13:41:26 -0700 Subject: [PATCH] Name pcache-repositories with :object-name keyword --- dotfiles/emacs.d/README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 3bb68b63..3bb6367f 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -745,7 +745,7 @@ Create cache structure containing stop information (defmethod imalison:muni-stop-get-lat-long ((stop imalison:muni-stop)) (list (oref stop :lat) (oref stop :long))) -(defvar imalison:muni-stop-cache (pcache-repository "imalison-muni-stop")) +(defvar imalison:muni-stop-cache (pcache-repository :object-name "imalison-muni-stop")) (defun imalison:muni-get-gtfs-stops (&optional filepath) (unless filepath @@ -825,7 +825,7 @@ A function that shells out to get upcoming trains A cached version of the muni functions for use in spaceline and elsewhere. #+BEGIN_SRC emacs-lisp -(defvar imalison:muni-cache (pcache-repository "imalison-muni")) +(defvar imalison:muni-cache (pcache-repository :object-name "imalison-muni")) (defvar imalison:current-location-ttl 10) (defvar imalison:muni-arrival-ttl 25)