[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 5195f13f55 197/355: Add optional absolute for de
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 5195f13f55 197/355: Add optional absolute for denote--directory-files |
Date: |
Sun, 26 Jun 2022 23:58:23 -0400 (EDT) |
branch: externals/denote
commit 5195f13f559d081391cc6b14e84adcc2c72de8a7
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add optional absolute for denote--directory-files
There is currently no use for it, but I am aware at least of one
function we might use in the future which requires absolute paths.
---
denote.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/denote.el b/denote.el
index 65120ac5e2..ec81e94c93 100644
--- a/denote.el
+++ b/denote.el
@@ -303,14 +303,16 @@ With optional N, search in the Nth line from point."
;;;; Keywords
-(defun denote--directory-files ()
- "List note files, assuming flat directory."
+(defun denote--directory-files (&optional absolute)
+ "List note files, assuming flat directory.
+If optional ABSOLUTE, show full paths, else only show base file
+names that are relative to the variable `denote-directory'."
(let* ((dir (denote-directory))
(default-directory dir))
(seq-remove
(lambda (file)
(file-directory-p file))
- (directory-files dir nil directory-files-no-dot-files-regexp t))))
+ (directory-files dir absolute directory-files-no-dot-files-regexp t))))
(defun denote--directory-files-matching-regexp (regexp)
"Return list of files matching REGEXP."
- [elpa] externals/denote 7b719e6274 152/355: Add user option to disable multi-word keywords, (continued)
- [elpa] externals/denote 7b719e6274 152/355: Add user option to disable multi-word keywords, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 25fa79e8d9 146/355: Refine denote-retrieve internals, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 0165b00ddb 145/355: Use only denote-retrieve functions in denote-link, ELPA Syncer, 2022/06/27
- [elpa] externals/denote f57e9c5c9f 165/355: Change internal variable symbols for consistency, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8565d36e7d 161/355: Add note in the manual about journal/diary, ELPA Syncer, 2022/06/27
- [elpa] externals/denote be58aec5db 163/355: Include journal sample that prompts for TITLE, ELPA Syncer, 2022/06/27
- [elpa] externals/denote d66312e517 172/355: Fix regression in file extension caused by f57e9c5, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 553c10a9cc 178/355: Tweak doc string, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8e6e2736dc 174/355: Add generic denote-link-find-file, ELPA Syncer, 2022/06/27
- [elpa] externals/denote b54dd3404d 186/355: Tweak doc string, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 5195f13f55 197/355: Add optional absolute for denote--directory-files,
ELPA Syncer <=
- [elpa] externals/denote a160d9f147 196/355: Fix typo in the manual, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 3654f902e6 210/355: Accept optional group in denote-retrieve--search, ELPA Syncer, 2022/06/27
- [elpa] externals/denote aab21a74dd 194/355: Register 'denote:' custom Org hyperlink type, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 4dc46d1b68 185/355: Set denote-link-fontify-backlinks to t by default, ELPA Syncer, 2022/06/27
- [elpa] externals/denote d5b62c4e58 220/355: Add denote-date command (notes for past date), ELPA Syncer, 2022/06/27
- [elpa] externals/denote f193199c88 228/355: Insert generic format links with prefix argument, ELPA Syncer, 2022/06/27
- [elpa] externals/denote e1c45e25f4 219/355: Optionally no current in files in dir regexp match, ELPA Syncer, 2022/06/27
- [elpa] externals/denote a1d315ff84 237/355: Reword statement about metanotes, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 1ba3ccc7d0 291/355: Add missing conditionality from commit 7074b25, ELPA Syncer, 2022/06/27
- [elpa] externals/denote cea51a8a11 242/355: Add section with Frequently Asked Questions, ELPA Syncer, 2022/06/27