diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-24 13:01:03 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-24 13:01:03 +0000 |
commit | 624e18694f28314e5efe4d4bed347eefbf4232d8 (patch) | |
tree | e9aa208116fa48c3014e8a74be1d3c4d4b1fc0bd /sx-cache.el | |
parent | ab4ffccca09e89d987d48946a121b25c71eaa489 (diff) |
Default to NOT clear auth.
Diffstat (limited to 'sx-cache.el')
-rw-r--r-- | sx-cache.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sx-cache.el b/sx-cache.el index b279a59..07352d0 100644 --- a/sx-cache.el +++ b/sx-cache.el @@ -87,11 +87,13 @@ re-initialize the cache." (defun sx-cache-invalidate-all (&optional save-auth) "Invalidate all caches using `sx-cache--invalidate'. Afterwards reinitialize caches using `sx-initialize'. If -SAVE-AUTH (the prefix arg) is non-nil, do not clear AUTH cache. +SAVE-AUTH is non-nil, do not clear AUTH cache. + +Interactively only clear AUTH cache if prefix arg was given. Note: This will also remove read/unread status of questions as well as delete the list of hidden questions." - (interactive "P") + (interactive (list (not current-prefix-arg))) (let* ((default-directory sx-cache-directory) (caches (file-expand-wildcards "*.el"))) (when save-auth |