Visuwesh <visuwe...@gmail.com> writes: > I went with a slightly different approach in the attached where an > optional argument is accepted by the function, defaulting to the value > of org-link-file-path-type.
Thanks! Applied, onto main, with minor amendments. I renamed the function, as suggested by Rudolf. I also fixed a typo in variable name (complete-file, not complete). https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=dd24af375d Done. I recommend running M-x project-compile <RET> make test <RET> and paying attention to compilation warnings, if any. Such typos are often revealed by the compiler. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>