summaryrefslogtreecommitdiff
path: root/bog.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-01-20 01:47:11 -0500
committerKyle Meyer <kyle@kyleam.com>2016-01-20 01:47:11 -0500
commitd5d33e56f3839f95aa9ecafcb71d8c8871a7d8c4 (patch)
tree18bc533427b1fc4179907658884443a0f6c16ec4 /bog.el
parenta13b6305f0b6a73373809fb71595194aa284696c (diff)
downloadbog-d5d33e56f3839f95aa9ecafcb71d8c8871a7d8c4.tar.gz
bog-clear-citekey-cache: Cosmetics
Diffstat (limited to 'bog.el')
-rw-r--r--bog.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/bog.el b/bog.el
index 2af27c3..2187470 100644
--- a/bog.el
+++ b/bog.el
@@ -305,8 +305,8 @@ Otherwise, prompt for CATEGORY."
(mapcar (lambda (c) (symbol-name (car c)))
bog--citekey-cache)))))))
(setq bog--citekey-cache
- (unless (eq category t)
- (assq-delete-all category bog--citekey-cache))))
+ (and (not (eq category t))
+ (assq-delete-all category bog--citekey-cache))))
(defvar bog--no-sort nil)
(defun bog--maybe-sort (values)