I want to update to the latest version of Org-mode to test a bug fix. I followed the instructions:
cd ~/src/
git clone https://code.orgmode.org/bzg/org-mode.git
cd org-mode/
make autoloads
Then I launch emacs without initialization:
emacs -nw -q
and evaluate:
(add-to-list 'load-path "~/src/org-mode/lisp") ;; result: ("~/src/org-mode/lisp" ...)
(org-version) ;; result: "9.1.9"
which shows that it is using the built-in version, not the one from git (the compiled file org-version.el
shows "9.3.3"
).
I was able to install the latest version when I filed the bug report. Then package-list-packages
would show the built-in org
package as masked by another; I can't remember how I did it and now the built-in package is not masked.
I am on macOS 10.14.6
and GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-09-02
.
I have tried How to update Org to latest version using package repo's / git clone in Ubuntu without success. This thread is for Ubuntu.
What is preventing my machine from using the latest version of org-mode?