Ihor Radchenko <[email protected]> writes:

Please check that you are really using the checked out Org version. Verify
with M-x org-version.

Good point. I did and the output confirms that Emacs is using my local copy:

    Org mode version 9.7.11 (release_9.7.11 @ 
/home/jman/projects/org-mode/lisp/)

To clarify, here what I do to switch Orgmode version:

- Check Orgmode version, I get:
 "Org mode version 9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)"
- Switch orgmode directory in my config:
 --8<---------------cut here---------------start------------->8---
 (add-to-list 'load-path "~/projects/org-mode/lisp/")
 (require 'org)
 --8<---------------cut here---------------end--------------->8---
- Complete delete the packages cache in ~/.cache/emacs/eln/
- Restart Emacs, let it recompile all the .eln cache (takes minutes)
- Check again Orgmode version, I get
 "Org mode version 9.7.11 (release_9.7.11 @ /home/jman/projects/org-mode/lisp/)"
- I inspect the `org-refile` function and it looks the same in commit f974e85

(Then I test the file and I get the error)

Thanks

Reply via email to