From 7740300831af16f4c2bbc4012fcc6a21f1f9a809 Mon Sep 17 00:00:00 2001 From: Roshan Shariff Date: Sun, 12 Dec 2021 08:41:56 -0700 Subject: [PATCH] Fix bug in #482. `citar-file--make-file-predicate` should be `citar-file--has-file`. --- citar.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/citar.el b/citar.el index 78dfff07..d75f7994 100644 --- a/citar.el +++ b/citar.el @@ -535,9 +535,9 @@ non-nil when the entry has associated files, either in Note: for performance reasons, this function should be called once per command; the function it returns can be called repeatedly." - (citar-file--make-file-predicate citar-library-paths - citar-file-extensions - citar-file-variable)) + (citar-file--has-file citar-library-paths + citar-file-extensions + citar-file-variable)) (defun citar-has-note () "Return predicate testing whether entry has associated notes. @@ -548,8 +548,8 @@ non-nil when the entry has associated notes in `citar-notes-paths`. Note: for performance reasons, this function should be called once per command; the function it returns can be called repeatedly." - (citar-file--make-file-predicate citar-notes-paths - citar-file-note-extensions)) + (citar-file--has-file citar-notes-paths + citar-file-note-extensions)) (defun citar--format-candidates (bib-files &optional context) "Format candidates from BIB-FILES, with optional hidden CONTEXT metadata.