Add FIXME about denote-get-file-name-relative-to-denote-directory

This commit is contained in:
Protesilaos Stavrou 2025-12-14 08:07:44 +02:00
parent d9ecf5a988
commit d9537e2c9d
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -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."