[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 8a35382067 126/355: Rename internal variable for
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 8a35382067 126/355: Rename internal variable for clarity |
Date: |
Sun, 26 Jun 2022 23:58:12 -0400 (EDT) |
branch: externals/denote
commit 8a353820670f4cb16290f15785448e83021093bf
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Rename internal variable for clarity
---
denote-dired.el | 2 +-
denote-link.el | 2 +-
denote.el | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/denote-dired.el b/denote-dired.el
index fa104d5547..8559510e39 100644
--- a/denote-dired.el
+++ b/denote-dired.el
@@ -152,7 +152,7 @@ renaming attachments that the user adds to their notes."
:group 'denote-dired)
(defconst denote-dired-font-lock-keywords
- `((,denote--keyword-regexp
+ `((,denote--file-regexp
(1 'denote-dired-dired-field-date)
(2 'denote-dired-dired-field-time)
(3 'denote-dired-dired-field-delimiter)
diff --git a/denote-link.el b/denote-link.el
index 85f8d13fa1..2d3d95fc69 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -193,7 +193,7 @@ PROOF-OF-CONCEPT."
(point)))
(save-excursion
(goto-char (point-min))
- (while (re-search-forward (format "%s" denote--keyword-regexp)
(point-max) t)
+ (while (re-search-forward (format "%s" denote--file-regexp) (point-max)
t)
(make-button (match-beginning 0) (match-end 0) :type
'denote-link-find-file)))
(denote-dired-mode 1)))
diff --git a/denote.el b/denote.el
index 19c8fe33ff..a5d5822bd0 100644
--- a/denote.el
+++ b/denote.el
@@ -169,7 +169,7 @@ is suspended: we use whatever the user wants."
(concat denote--id-regexp "\\(--\\)\\(.*\\)\\(__\\)")
"Regular expression to match file names from `denote'.")
-(defconst denote--keyword-regexp
+(defconst denote--file-regexp
(concat denote--file-title-regexp "\\([0-9A-Za-z_-]*\\)\\(\\.?.*\\)")
"Regular expression to match `denote-keywords'.")
@@ -268,7 +268,7 @@ With optional N, search in the Nth line from point."
"Produce list of keywords in `denote--directory-files'."
(delq nil (mapcar
(lambda (x)
- (denote--extract denote--keyword-regexp x 6))
+ (denote--extract denote--file-regexp x 6))
(denote--directory-files))))
(defun denote--inferred-keywords ()
- [elpa] externals/denote ebdacb3fea 073/355: Update doc string of denote-directory function, (continued)
- [elpa] externals/denote ebdacb3fea 073/355: Update doc string of denote-directory function, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 91f4780779 083/355: Merge pull request #3 from kaushalmodi/add-gitignore, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 17ad20f356 097/355: Document section on front matter, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 929157d424 089/355: Stop using link abbreviation, ELPA Syncer, 2022/06/27
- [elpa] externals/denote a809e9ea1d 087/355: Clarify active development; things might break, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 3f9bfcb74e 101/355: Name the FSF as the copyright holder, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 299b8970ee 095/355: Add support for notes in Markdown and Plain Text, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 112a12e6e5 130/355: Remove duplicate word from face names, ELPA Syncer, 2022/06/27
- [elpa] externals/denote bca23b3e3d 115/355: Clarify how front matter variables are used, ELPA Syncer, 2022/06/27
- [elpa] externals/denote f91d2472c3 128/355: Make the field delimiter face a bit more subtle, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8a35382067 126/355: Rename internal variable for clarity,
ELPA Syncer <=
- [elpa] externals/denote 308322afab 108/355: Fix markdown-toml identifier value, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 11be1d6b40 123/355: Change "tml" to "toml" in denote-toml-front-matter, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 6000313eec 118/355: Enforce sluggification of keywords; document it, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 82eeb381dc 110/355: Make all front matter abstractions consistent, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 73dc07ac00 113/355: Make front matter variables "public", ELPA Syncer, 2022/06/27
- [elpa] externals/denote 21e415e2e7 111/355: Remove obsolete symbol of command, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 60d64ca07c 117/355: Document ways to change the front matter, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 28518416f3 131/355: Name the faces in the manual, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 0bda79ef19 139/355: Move heading further up in the manual, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 890a335092 149/355: Add denote-dired-rename-expert user option, ELPA Syncer, 2022/06/27