6fbc226ca5
* UTILITIES/org-fixup.el (org-make-org-version): Provide feature 'org-version. * lisp/org-compat.el (org-check-version): New macro. Check if org-version.el exists and provide autoloads to that. Otherwise check if org-fixup.el exists and use it to provide definitions. Finally if nothing worked, complain about a botched installation and provide fallback definitions. * lisp/org.el: Use org-check-version. This should finally provide the correct behaviour in all supported use-cases as well as a few corner scenarios that were reported on the mailing list and allow to always build on Git, ELPA and Emacs Bzr correctly. The file org-version.el must be added to the Emacs sources and should be re-generated each time orgmode Git is synced to Emacs Bzr (it would be best to automate this). Note that the internal functions (org-release) and (org-git-release) are not autoloaded when org-version is not present and become only available when org.el is loaded. This should pose no problem since they are only used by (org-version), which is autoloaded from org.el. |
||
---|---|---|
.. | ||
fake_change_log.pl | ||
git-changelog | ||
gplmanual.pl | ||
guidesplit.pl | ||
list-hooks.pl | ||
make_emacs_changelog | ||
manfull.pl | ||
mansplit.pl | ||
org-fixup.el | ||
orgcard2txt.pl | ||
pw | ||
server.mk | ||
set-version.pl | ||
x11idle.c |