diff --git a/README.org b/README.org index 3f0868b..dc95e90 100644 --- a/README.org +++ b/README.org @@ -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 diff --git a/denote.el b/denote.el index 625d04b..8c6329a 100644 --- a/denote.el +++ b/denote.el @@ -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)