branch: externals/denote
commit 4c20bf0a573325e06ca27dae6f7349342decb183
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Make denote-directory-get-files public
---
 README.org | 6 ++++++
 denote.el  | 7 ++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 92c7a8c2be..8f7496fa0e 100644
--- a/README.org
+++ b/README.org
@@ -5104,6 +5104,12 @@ The following sections cover the specifics.
   ~let~ bind the value of the variable ~denote-directory~
   to override what this function returns.
 
+#+findex: denote-directory-get-files
++ Function ~denote-directory-get-files~ :: Return list with full path
+  of valid files in variable ~denote-directory~. Consider files that
+  satisfy ~denote-file-has-identifier-p~ and are not backups. [ Part
+  of {{{development-version}}}. ]
+
 #+findex: denote-directory-files
 + Function ~denote-directory-files~ :: Return list of absolute file
   paths in variable ~denote-directory~. Files that match
diff --git a/denote.el b/denote.el
index c3c8d3d7fc..04c05ec43a 100644
--- a/denote.el
+++ b/denote.el
@@ -1299,7 +1299,12 @@ Avoids traversing dotfiles (unconditionally) and 
whatever matches
   (and denote-excluded-files-regexp
        (string-match-p denote-excluded-files-regexp file)))
 
-(defun denote--directory-get-files ()
+(define-obsolete-function-alias
+  'denote--directory-get-files
+  'denote-directory-get-files
+  "4.1.0")
+
+(defun denote-directory-get-files ()
   "Return list with full path of valid files in variable `denote-directory'.
 Consider files that satisfy `denote-file-has-identifier-p' and
 are not backups."

Reply via email to