[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 60a91fc6ef 044/355: Use correct notation for pri
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 60a91fc6ef 044/355: Use correct notation for private variables |
Date: |
Sun, 26 Jun 2022 23:57:58 -0400 (EDT) |
branch: externals/denote
commit 60a91fc6ef09f6fa89d7a7dee4e932adea8b74d0
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Use correct notation for private variables
---
denote.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/denote.el b/denote.el
index 82bdbe435d..2361fb6275 100644
--- a/denote.el
+++ b/denote.el
@@ -84,13 +84,13 @@ If nil, show the keywords in their given order."
;;;; Main variables
-(defconst denote-id "%Y%m%d_%H%M%S"
+(defconst denote--id "%Y%m%d_%H%M%S"
"Format of ID prefix of a note's filename.")
-(defconst denote-id-regexp "\\([0-9_]+\\{15\\}\\)"
- "Regular expression to match `denote-id'.")
+(defconst denote--id-regexp "\\([0-9_]+\\{15\\}\\)"
+ "Regular expression to match `denote--id'.")
-(defconst denote-keyword-regexp "\\(--\\)\\([0-9A-Za-z_+]*\\)\\(--\\)"
+(defconst denote--keyword-regexp "\\(--\\)\\([0-9A-Za-z_+]*\\)\\(--\\)"
"Regular expression to match `denote-keywords'.")
(defconst denote--punctuation-regexp "[][{}!@#$%^&*()_=+'\"?,.\|;:~`‘’“”]*"
@@ -184,7 +184,7 @@ With optional N, search in the Nth line from point."
(delq nil (mapcar
(lambda (x)
(denote--extract
- (concat denote-id-regexp denote-keyword-regexp) x 3))
+ (concat denote--id-regexp denote--keyword-regexp) x 3))
(denote--directory-files))))
(defun denote--inferred-keywords ()
@@ -282,7 +282,7 @@ Format current time, else use optional ID."
(setq denote-last-path
(denote--format-file
(file-name-as-directory denote-directory)
- (format-time-string denote-id)
+ (format-time-string denote--id)
keywords
(denote--sluggify title))))
@@ -294,7 +294,7 @@ Use optional PATH, else create it with `denote--path'."
(buffer (unless path (find-file p)))
(header (denote--file-meta-header
title (format-time-string "%F") keywords p
- (format-time-string denote-id))))
+ (format-time-string denote--id))))
(unless path
(with-current-buffer buffer (insert header))
(setq denote-last-buffer buffer))
- [elpa] externals/denote a5986742be 315/355: Note the features of filenames for search/filter, (continued)
- [elpa] externals/denote a5986742be 315/355: Note the features of filenames for search/filter, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 9888c7087f 348/355: Add check mark to task of using id: links, ELPA Syncer, 2022/06/26
- [elpa] externals/denote d56913b055 349/355: Clarify wording of FAQ entries, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 31e5eb3af8 346/355: Update documentation about links, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 019cccfb1f 015/355: Create denote-directory if absent, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 813004ea53 032/355: Make outline more consistent and informative, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 387ac0c030 033/355: Add denote--file-empty-p, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 9d8748c382 022/355: Add proof-of-concept backlink (lots of TODO), ELPA Syncer, 2022/06/26
- [elpa] externals/denote 991abe5b65 034/355: Use denote--file-empty-p, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 812da918f7 042/355: Insert comment about not editing backlinks, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 60a91fc6ef 044/355: Use correct notation for private variables,
ELPA Syncer <=
- [elpa] externals/denote 0185f38dde 046/355: Add denote-dired.el for useful fontification, ELPA Syncer, 2022/06/26
- [elpa] externals/denote f4f1fa3c48 041/355: Declare variables with defconst, ELPA Syncer, 2022/06/26
- [elpa] externals/denote d0dbbab603 050/355: Update short descriptions, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 4d90cbb5da 054/355: Remove needless to-do, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 610c2f1670 055/355: Comment out inactive link to change log, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 3209bc23ef 059/355: Use "#+filetags" for wider Org compatibility, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 3ef51e9cd7 064/355: Update documentation about denote-dired-mode, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 52fd454153 069/355: Document denote-sort-keywords, ELPA Syncer, 2022/06/26
- [elpa] externals/denote 2eeedaf86a 075/355: Placate the compiler about 'denote-directory', ELPA Syncer, 2022/06/26
- [elpa] externals/denote eafc777268 076/355: Use 'denote-directory' function for '#+link', ELPA Syncer, 2022/06/26