Remove the denote-sort-dired-focus alias

I want to reach a point where only denote-dired and related are used.
Maybe this is more appropriate for the next major version, but I can
do it here since this is a new command.
This commit is contained in:
Protesilaos 2026-05-20 12:37:13 +03:00
parent ea398e9a2a
commit 3ef7380190
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 4 additions and 8 deletions

View file

@ -4020,11 +4020,10 @@ means of the non-interactive function ~denote-sort-files~.
[ This is part of {{{development-version}}}. The specifics may change. ]
#+findex: denote-sort-dired-focus
#+findex: denote-dired-focus
The command ~denote-dired-focus~ (alias ~denote-sort-dired-focus~)
gives users the option to further filter an existing Dired buffer that
was produced by the ~denote-dired~ command ([[#h:9fe01e63-f34f-4479-8713-f162a5ca865e][Display filtered and sorted files with ~denote-sort-dired~ or ~denote-dired~]]).
The command ~denote-dired-focus~ gives users the option to further
filter an existing Dired buffer that was produced by the
~denote-dired~ command ([[#h:9fe01e63-f34f-4479-8713-f162a5ca865e][Display filtered and sorted files with ~denote-sort-dired~ or ~denote-dired~]]).
Call ~denote-dired-focus~ from inside such a Dired buffer to further
limit its contents to files matching the given regular expression or

View file

@ -2046,7 +2046,7 @@ and (iv) a string, respectively."
(defalias 'denote-dired 'denote-sort-dired
"Alias for `denote-sort-dired' command.")
(defun denote-sort-dired-focus (regexp &optional exclude-match)
(defun denote-dired-focus (regexp &optional exclude-match)
"Filter the current `denote-dired' buffer to include only files matching REGEXP.
With optional EXCLUDE-MATCH as a prefix argument remove the files
matching REGEXP from the buffer.
@ -2072,9 +2072,6 @@ buffer's file list to operate only on those files."
(denote-sort-dired regexp component reverse-sort exclude-regexp files)))
(user-error "No last `denote-sort-dired' results to focus on")))
(defalias 'denote-dired-focus 'denote-sort-dired-focus
"Alias for `denote-sort-dired-focus'.")
;;;; Keywords
(defun denote-extract-keywords-from-path (path)