branch: externals/denote
commit d9537e2c9df68e0508017cee9e7bbfbb852e431c
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Add FIXME about denote-get-file-name-relative-to-denote-directory
---
 denote.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/denote.el b/denote.el
index d82be4c355..bc13a0ee32 100644
--- a/denote.el
+++ b/denote.el
@@ -1316,6 +1316,9 @@ what remains."
   (and (file-writable-p file)
        (denote-file-has-supported-extension-p file)))
 
+;; FIXME 2025-12-14: We are hardcoding the `denote-directories'.  What
+;; we need is a simpler function to get a relative path.  Otherwise we
+;; are probably computing the `denote-directories' multiple times.
 (defun denote-get-file-name-relative-to-denote-directory (file)
   "Return name of FILE relative to the variable `denote-directory'.
 FILE must be an absolute path."

Reply via email to