[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 64c5b74dbd 2/7: Relax conditionality in denote--
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 64c5b74dbd 2/7: Relax conditionality in denote--retrieve-search |
Date: |
Thu, 11 Aug 2022 02:57:32 -0400 (EDT) |
branch: externals/denote
commit 64c5b74dbd5c36f2f01ae2836a832d2eb42f1ac2
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Relax conditionality in denote--retrieve-search
---
denote.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index dcfb2c721c..f5d16c8824 100644
--- a/denote.el
+++ b/denote.el
@@ -584,7 +584,10 @@ output is sorted with `string-lessp'."
(defun denote--retrieve-search (file key-regexp &optional key)
"Return value of KEY-REGEXP key in current buffer from FILE.
If optional KEY is non-nil, return the key instead."
- (when (denote--only-note-p file)
+ ;; NOTE 2022-08-11: The `or' is superfluous, but I am keeping it as a
+ ;; reminder. See TODO comment above `denote--only-note-p'
+ (when (or (denote--writable-and-supported-p file)
+ (denote--only-note-p file))
(with-temp-buffer
(insert-file-contents file)
(save-excursion
- [elpa] externals/denote updated (465a093893 -> 4bb79fe89f), ELPA Syncer, 2022/08/11
- [elpa] externals/denote 8256c85df9 5/7: Rename denote--file-type-symbol to denote--valid-file-type, ELPA Syncer, 2022/08/11
- [elpa] externals/denote 73ba47e832 1/7: Add comments for denote--only-note-p, ELPA Syncer, 2022/08/11
- [elpa] externals/denote 1b2d4319bd 4/7: Refactor denote command to prepare all arguments for denote--prepare-note, ELPA Syncer, 2022/08/11
- [elpa] externals/denote 3748ac5f6d 6/7: Simplify denote--format-file, ELPA Syncer, 2022/08/11
- [elpa] externals/denote 1bdd0eb5e7 3/7: Fix argument in denote--writable-and-supported-p, ELPA Syncer, 2022/08/11
- [elpa] externals/denote 4bb79fe89f 7/7: Remove fallback value in denote--file-extension, ELPA Syncer, 2022/08/11
- [elpa] externals/denote 64c5b74dbd 2/7: Relax conditionality in denote--retrieve-search,
ELPA Syncer <=