mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Add FIXME about denote-get-file-name-relative-to-denote-directory
This commit is contained in:
parent
d9ecf5a988
commit
d9537e2c9d
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Reference in a new issue