[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote e6b7ba74e6 05/20: Make denote-retrieve-filename-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote e6b7ba74e6 05/20: Make denote-retrieve-filename-identifier consistent with other functions |
Date: |
Wed, 20 Dec 2023 03:58:00 -0500 (EST) |
branch: externals/denote
commit e6b7ba74e669f87073811d5e211f1c687abc03cb
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Make denote-retrieve-filename-identifier consistent with other functions
---
denote.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/denote.el b/denote.el
index a529318a49..c5ba74f11e 100644
--- a/denote.el
+++ b/denote.el
@@ -1378,9 +1378,9 @@ contain the newline."
To create a new one, refer to the function
`denote-create-unique-file-identifier'."
- (let ((file-name (file-name-nondirectory file)))
- (if (string-match (concat "\\`" denote-id-regexp) file-name)
- (match-string-no-properties 0 file-name))))
+ (let ((filename (file-name-nondirectory file)))
+ (if (string-match (concat "\\`" denote-id-regexp) filename)
+ (match-string-no-properties 0 filename))))
;; TODO 2023-12-08: Maybe we can only use
;; `denote-retrieve-filename-identifier' and remove this function.
- [elpa] externals/denote b996b7e6f0 02/20: Refactor denote-add-front-matter, (continued)
- [elpa] externals/denote b996b7e6f0 02/20: Refactor denote-add-front-matter, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 4261d19a88 12/20: Put Denote menu bar after "Tools", ELPA Syncer, 2023/12/20
- [elpa] externals/denote aa7bf58234 18/20: Enable Denote menu bar by default, ELPA Syncer, 2023/12/20
- [elpa] externals/denote f770346729 19/20: Merge branch 'main' of git.sr.ht:~protesilaos/denote, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 667c1370ba 15/20: Remove unwind-protect from denote--command-with-default-title, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 6d71d3e1d3 04/20: Refactor denote-retrieve-filename-* functions, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 7ca08f2a66 07/20: Refactor denote-org-capture and remove denote-org-capture-with-prompts, ELPA Syncer, 2023/12/20
- [elpa] externals/denote f0910d3146 13/20: Add denote-menu-bar-mode, making the Denote menu bar optional, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 6e5ddc2623 01/20: Refactor denote-file-has-identifier-p and use it in various functions, ELPA Syncer, 2023/12/20
- [elpa] externals/denote faaf5f94ab 03/20: Use denote-rename-max-mini-window-height in denote-change-file-type-and-front-matter, ELPA Syncer, 2023/12/20
- [elpa] externals/denote e6b7ba74e6 05/20: Make denote-retrieve-filename-identifier consistent with other functions,
ELPA Syncer <=
- [elpa] externals/denote f1730b7798 17/20: Acknowledge Ashton Wiersdorf for commit e2ba6c1, ELPA Syncer, 2023/12/20
- [elpa] externals/denote f26d8d7799 08/20: Handle nil case in denote-sort--define-lessp, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 4899ca5c78 09/20: Remove separator for the last file in denote-org-dblock-add-files, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 6acb25c7ec 10/20: Create aliases for denote-retrieve-front-matter-* functions, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 195f0c3b7f 14/20: Acknowledge Joseph Turner for commits 4261d19, f0910d3, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 3d4891b5dd 06/20: Rename denote-retrieve-title-* and denote-retrieve-keywords-* functions, ELPA Syncer, 2023/12/20
- [elpa] externals/denote e2ba6c144d 16/20: Guard sorting keywords when given an empty string, ELPA Syncer, 2023/12/20
- [elpa] externals/denote ee58ae014d 20/20: Merge pull request #199 from jeanphilippegg/refactor, ELPA Syncer, 2023/12/20
- [elpa] externals/denote 2b627aaafd 11/20: Add denote-org-capture-with-prompts, ELPA Syncer, 2023/12/20