Function: denote-get-relative-path-by-id

denote-get-relative-path-by-id is a byte-compiled function defined in denote.el.

Signature

(denote-get-relative-path-by-id ID &optional DIRECTORY)

Documentation

Return relative path of ID string in denote-directory-files.

The path is relative to DIRECTORY (default: ‘default-directory’).

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-get-relative-path-by-id (id &optional directory)
  "Return relative path of ID string in `denote-directory-files'.
The path is relative to DIRECTORY (default: ‘default-directory’)."
  (when-let* ((path (denote-get-path-by-id id)))
    (file-relative-name path directory)))