Function: embark-insert-relative-path
embark-insert-relative-path is an interactive and byte-compiled
function defined in embark.el.
Signature
(embark-insert-relative-path FILE)
Documentation
Insert relative path to FILE.
The insert path is relative to default-directory.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark-insert-relative-path (file)
"Insert relative path to FILE.
The insert path is relative to `default-directory'."
(interactive "FFile: ")
(embark-insert (list (file-relative-name (substitute-in-file-name file)))))