[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 0ed067e5a8 05/10: Rename symbols for consistency
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 0ed067e5a8 05/10: Rename symbols for consistency; make denote-sort-component-prompt public |
Date: |
Thu, 30 Nov 2023 00:57:46 -0500 (EST) |
branch: externals/denote
commit 0ed067e5a85eb8e2203632a9049be34141340788
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Rename symbols for consistency; make denote-sort-component-prompt public
---
denote-sort.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/denote-sort.el b/denote-sort.el
index d2a73862a1..138cc0bf68 100644
--- a/denote-sort.el
+++ b/denote-sort.el
@@ -108,17 +108,17 @@ With optional REVERSE as a non-nil value, reverse the
sort order."
"Prompt for REGEXP to filter Denote files by."
(read-regexp "Match files with the given REGEXP: " nil
'denote-sort--files-matching-regexp-hist))
-(defvar denote-sort--component-key-hist nil
- "Minibuffer history of `denote-sort--component-key-prompt'.")
+(defvar denote-sort--component-hist nil
+ "Minibuffer history of `denote-sort-component-prompt'.")
-(defun denote-sort--component-key-prompt ()
+(defun denote-sort-component-prompt ()
"Prompt `denote-sort-files' for sorting key among `denote-sort-components'."
- (let ((default (car denote-sort--component-key-hist)))
+ (let ((default (car denote-sort--component-hist)))
(intern
(completing-read
(format-prompt "Sort by file name component " default)
denote-sort-components nil :require-match
- nil 'denote-sort--component-key-hist default))))
+ nil 'denote-sort--component-hist default))))
(defun denote-sort--prepare-dired (buffer-name files)
"Return Dired buffer with BUFFER-NAME showing FILES.
@@ -150,7 +150,7 @@ a non-nil value, respectively."
(interactive
(list
(denote-sort--files-matching-regexp-prompt)
- (denote-sort--component-key-prompt)
+ (denote-sort-component-prompt)
(y-or-n-p "Reverse sort? ")))
(denote-sort--prepare-dired
(format "Denote files matching `%s' sorted by %s" files-matching-regexp
sort-by-component)
- [elpa] externals/denote updated (edeaaa735e -> 97f34bdc0c), ELPA Syncer, 2023/11/30
- [elpa] externals/denote cf3c2b8cbe 03/10: Change the arity of denote-sort-files to make only REVERSE be optional, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 1999217a51 06/10: Make sorting work for missing components; remove the macro, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 0ed067e5a8 05/10: Rename symbols for consistency; make denote-sort-component-prompt public,
ELPA Syncer <=
- [elpa] externals/denote 97f34bdc0c 10/10: Document denote-sort.el, with 'denote-sort-dired' in particular, ELPA Syncer, 2023/11/30
- [elpa] externals/denote db31cca8fa 02/10: Clarify denote-sort-components docstring, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 3cd4999d1c 01/10: Rename denote-sort-files-keys to denote-sort-components; change to list of symbols, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 4050bf6caf 08/10: Fix denote-org-dblock-add-files case of REVERSE without SORT-BY-COMPONENT, ELPA Syncer, 2023/11/30
- [elpa] externals/denote c98e793eef 07/10: Make 'denote-files' Org dynamic block leverage denote-sort, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 1318e4175e 04/10: Tweak denote-sort-files for clarity, ELPA Syncer, 2023/11/30
- [elpa] externals/denote 59f2a61caf 09/10: Document sorting facilities for 'denote-files' Org dynamic block, ELPA Syncer, 2023/11/30