From 7e3685bf944378c49738de2ee2c685af785806b6 Mon Sep 17 00:00:00 2001 From: Jonathan Leech-Pepin Date: Tue, 18 Nov 2014 14:52:38 -0500 Subject: Use `cl-remove-if` rather than `remove-if` --- sx-cache.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sx-cache.el b/sx-cache.el index 1e64f4f..a564a53 100644 --- a/sx-cache.el +++ b/sx-cache.el @@ -86,7 +86,7 @@ If SAVE-AUTH is non-nil, do not clear AUTH cache." (let ((caches (let ((default-directory sx-cache-directory)) (file-expand-wildcards "*.el")))) (when save-auth - (setq caches (remove-if (lambda (x) + (setq caches (cl-remove-if (lambda (x) (string= x "auth.el")) caches))) (lwarn 'stack-mode :debug "Invalidating: %S" caches) (mapc #'sx-cache--invalidate caches) -- cgit v1.2.3