doom-files-in: replace NOSORT w/ SORT; change default MATCH
- SORT defaults to t - MATCH's new default regexp excludes files that start with underscore.
This commit is contained in:
parent
39faabab6a
commit
5e9c020c21
8 changed files with 23 additions and 18 deletions
|
@ -194,9 +194,11 @@ selection of all minor-modes, active or not."
|
|||
"Search headlines in Doom's newsletters."
|
||||
(interactive)
|
||||
(doom-completing-read-org-headings
|
||||
"Find in News: " (doom-files-in (expand-file-name "news" doom-docs-dir)
|
||||
:match "/[0-9]"
|
||||
:relative-to doom-docs-dir)
|
||||
"Find in News: "
|
||||
(nreverse (doom-files-in (expand-file-name "news" doom-docs-dir)
|
||||
:match "/[0-9]"
|
||||
:relative-to doom-docs-dir
|
||||
:sort t))
|
||||
nil t initial-input))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue