Closed chrischambers closed 4 years ago
company-org-roam--post-completion throws an error if the buffer has no corresponding file.
company-org-roam--post-completion
Completion should occur without error.
E.g. completing on 'Computer Science Terminology':
file-truename(nil) company-org-roam--post-completion("Computer Science Terminology") company-org-roam(post-completion "Computer Science Terminology") apply(company-org-roam post-completion "Computer Science Terminology") company--multi-backend-adapter((company-org-roam :with company-yasnippet) post-completion "Computer Science Terminology") apply(company--multi-backend-adapter (company-org-roam :with company-yasnippet) (post-completion "Computer Science Terminology")) company-call-backend-raw(post-completion "Computer Science Terminology") apply(company-call-backend-raw (post-completion "Computer Science Terminology")) company--force-sync(company-call-backend-raw (post-completion "Computer Science Terminology") (company-org-roam :with company-yasnippet)) company-call-backend(post-completion "Computer Science Terminology") company-cancel("Computer Science Terminology") company-finish("Computer Science Terminology") company-complete-selection() funcall-interactively(company-complete-selection) call-interactively(company-complete-selection nil nil) command-execute(company-complete-selection)
GNU Emacs 27.0.90 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.61 Version 10.13.6 (Build 17G11023)) of 2020-03-11
There are two options here:
which would you prefer?
My preference would be option 2 - the absolute path. Thanks for the prompt response!
Description
company-org-roam--post-completion
throws an error if the buffer has no corresponding file.Steps to Reproduce
Expected Results
Completion should occur without error.
Actual Results
E.g. completing on 'Computer Science Terminology':
Versions
GNU Emacs 27.0.90 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.61 Version 10.13.6 (Build 17G11023)) of 2020-03-11
): v27.0.90