Permalink
Browse files

pcache.el should now respect custom hash-table settings

  • Loading branch information...
sigma committed Dec 8, 2011
1 parent d9db842 commit aaa12b30c3ca33e443ec13f43a44681669cfa685
Showing with 1 addition and 5 deletions.
  1. +0 −4 gh-cache.el
  2. +1 −1 gh-pkg.el
View
@@ -37,10 +37,6 @@
(safe-methods :allocation :class :initform ("HEAD" "GET" "OPTIONS" "TRACE"))
(invalidation-chain :allocation :class :initform nil)))
(defmethod pcache-clear ((cache gh-cache))
(oset cache :entries (make-hash-table :test 'equal))
(pcache-save cache))
(defmethod pcache-invalidate :after ((cache gh-cache) key)
(let ((resource (car key)))
(pcache-map cache #'(lambda (k v)
View
@@ -1,4 +1,4 @@
(require 'package)
(define-package "gh" "%VERSION%" "A GitHub library for Emacs"
'(("pcache" "0.3")))
'(("pcache" "0.2.1")))

0 comments on commit aaa12b3

Please sign in to comment.