[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 09232baa8d 14/17: Add comments to some functions
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 09232baa8d 14/17: Add comments to some functions |
Date: |
Mon, 15 Aug 2022 01:57:35 -0400 (EDT) |
branch: externals/denote
commit 09232baa8d81452a37a33978deaa0180184ca473
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Add comments to some functions
---
denote.el | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/denote.el b/denote.el
index b41ea024b9..4fbb664597 100644
--- a/denote.el
+++ b/denote.el
@@ -779,6 +779,8 @@ contain the newline."
(defun denote--retrieve-title-value (file file-type)
"Return title value from FILE according to FILE-TYPE."
+ ;; 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
@@ -790,7 +792,10 @@ contain the newline."
(defun denote--retrieve-title-line (file file-type)
"Return title line from FILE according to FILE-TYPE."
- (when (denote--writable-and-supported-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)
(goto-char (point-min))
@@ -800,6 +805,8 @@ contain the newline."
(defun denote--retrieve-keywords-value (file file-type)
"Return keywords value from FILE according to FILE-TYPE.
If optional KEY is non-nil, return the key instead."
+ ;; 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
@@ -811,7 +818,10 @@ If optional KEY is non-nil, return the key instead."
(defun denote--retrieve-keywords-line (file file-type)
"Return keywords line from FILE according to FILE-TYPE."
- (when (denote--writable-and-supported-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)
(goto-char (point-min))
- [elpa] externals/denote updated (5482ce6dad -> b84d945d58), ELPA Syncer, 2022/08/15
- [elpa] externals/denote 09232baa8d 14/17: Add comments to some functions,
ELPA Syncer <=
- [elpa] externals/denote 96c09e65b5 15/17: Add denote--file-types-with-extension, ELPA Syncer, 2022/08/15
- [elpa] externals/denote 24e713f096 01/17: Add a File types section, ELPA Syncer, 2022/08/15
- [elpa] externals/denote b84d945d58 17/17: Merge pull request #89 from jeanphilippegg/cleanup, ELPA Syncer, 2022/08/15
- [elpa] externals/denote 3d7c33e4cf 11/17: Fix denote--format-front-matter, ELPA Syncer, 2022/08/15
- [elpa] externals/denote 2d1664c276 16/17: Use when-let in denote--filetype-heuristics, ELPA Syncer, 2022/08/15
- [elpa] externals/denote e14ca11118 03/17: Implement accessor functions for denote--file-types, ELPA Syncer, 2022/08/15
- [elpa] externals/denote a270951e9b 07/17: Rename denote--retrieve-value-title and denote--retrieve-value-keywords, ELPA Syncer, 2022/08/15
- [elpa] externals/denote f9fbebd9e4 09/17: Use plists in denote-file-types, ELPA Syncer, 2022/08/15
- [elpa] externals/denote b3cd0a7d4c 02/17: Add denote--file-types, ELPA Syncer, 2022/08/15
- [elpa] externals/denote 759fe4cb4e 10/17: Fix denote--filetype-heuristics, ELPA Syncer, 2022/08/15