[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 7ce2f7d3e3 251/355: Use the 'denote-directory' f
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 7ce2f7d3e3 251/355: Use the 'denote-directory' function, not variable |
Date: |
Sun, 26 Jun 2022 23:58:30 -0400 (EDT) |
branch: externals/denote
commit 7ce2f7d3e3c2976ff82f8154d6cc586554aa0c08
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Use the 'denote-directory' function, not variable
Just to be sure we always get the appropriate value.
---
denote.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/denote.el b/denote.el
index d535ff51d1..811d7f1ca3 100644
--- a/denote.el
+++ b/denote.el
@@ -496,7 +496,7 @@ With optional DIR, use it instead of variable
`denote-directory'.
With optional ID, use it else format the current time."
(setq denote-last-path
(denote--format-file
- (or dir (file-name-as-directory denote-directory))
+ (or dir (file-name-as-directory (denote-directory)))
(or id (format-time-string denote--id-format))
(denote--sluggify-keywords keywords)
(denote--sluggify title)
@@ -543,7 +543,7 @@ capture).
Optional DATE is passed to `denote--date', while optional ID is
used to construct the path's identifier."
- (let* ((default-directory denote-directory)
+ (let* ((default-directory (denote-directory))
(p (or path (denote--path title keywords default-directory id)))
(buffer (unless path (find-file p)))
(header (denote--file-meta-header
- [elpa] externals/denote cbaab43170 240/355: Update Acknowledgement: svnsbck => Sven Seebeck, (continued)
- [elpa] externals/denote cbaab43170 240/355: Update Acknowledgement: svnsbck => Sven Seebeck, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 9be3cfab99 215/355: Relocate defcustom where it belongs, ELPA Syncer, 2022/06/27
- [elpa] externals/denote b25704e041 211/355: Make denote-retrieve--value pass optional group, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 24997c6bc5 226/355: Remove "work-in-progress" from backlinks' section, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 25fe9870dc 225/355: Finalise 'denote:' custom Org hyperlink type, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 13bae5f9c4 235/355: Remove instability warnings (v0.1.0 is close), ELPA Syncer, 2022/06/27
- [elpa] externals/denote 1b4dc74e3c 224/355: Update denote-dired.el Commentary section, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 3a63c763c5 218/355: Improve post-rename front matter rewrite, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 5213c9e7af 241/355: Add section with alternatives to Denote, ELPA Syncer, 2022/06/27
- [elpa] externals/denote e0ff114a93 238/355: Update Denote sources in manual's introduction, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 7ce2f7d3e3 251/355: Use the 'denote-directory' function, not variable,
ELPA Syncer <=
- [elpa] externals/denote c8f3e707c2 223/355: Revise one-line descriptions, where needed, ELPA Syncer, 2022/06/27
- [elpa] externals/denote a436cdf07e 221/355: Tweak doc strings, ELPA Syncer, 2022/06/27
- [elpa] externals/denote a5940b315a 265/355: Replace needless 'let*' with 'let', ELPA Syncer, 2022/06/27
- [elpa] externals/denote 5686e86cfc 262/355: Only show valid notes in file prompt, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 3d606cbe95 272/355: Simplify completion via 'org-insert-link', ELPA Syncer, 2022/06/27
- [elpa] externals/denote f21a99775d 256/355: Improve rename prompt; only rename regular files, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 941258d8d4 263/355: Remove faulty MUSTMATCH from file prompt, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 8eb27246a5 267/355: Refine buffer-local 'denote-directory'; update doc, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 385c7e9689 287/355: Clarify use of uspecified face attribute, ELPA Syncer, 2022/06/27
- [elpa] externals/denote 90875d5419 233/355: Sort backlinks from oldest to newest, ELPA Syncer, 2022/06/27