Don't warn about ORG_PATH
Org v9.3.8+ is now available on MELPA
This commit is contained in:
parent
bfc5ca2b5a
commit
d0a85f8b88
23
Makefile
23
Makefile
|
@ -6,26 +6,11 @@ setup:
|
|||
emacs --batch --eval="(package-initialize)" \
|
||||
--eval="(mapcar #'package-install '(indent-lint package-lint relint))"
|
||||
|
||||
# No -q or -Q without ORG_PATH - if the user has a newer version of
|
||||
# Org, we want to use it.
|
||||
# No -q or -Q, in case the user has a newer version of Org.
|
||||
init-org.el:
|
||||
if [ -z "${ORG_PATH}" ]; then \
|
||||
echo ; \
|
||||
echo "[WARNING] ORG_PATH is unset. Org versions older than 9.3.8 have a bug" ; \
|
||||
echo "which result in them always using absolute paths in comment links in" ; \
|
||||
echo "tangled source files. If your Org version is older than 9.3.8, please" ; \
|
||||
echo "upgrade it before tangling." ; \
|
||||
echo ; \
|
||||
emacs --batch \
|
||||
--eval="(package-initialize)" \
|
||||
--eval="(require 'ob-tangle)" \
|
||||
--eval='(org-babel-tangle-file "init.org")' ; \
|
||||
else \
|
||||
emacs -q -Q --batch \
|
||||
--eval="(add-to-list 'load-path \"${ORG_PATH}\")" \
|
||||
--eval="(require 'ob-tangle)" \
|
||||
--eval='(org-babel-tangle-file "init.org")' ; \
|
||||
fi
|
||||
emacs --batch \
|
||||
--eval="(require 'ob-tangle)" \
|
||||
--eval='(org-babel-tangle-file "init.org")'
|
||||
|
||||
tangle: init-org.el
|
||||
|
||||
|
|
Loading…
Reference in New Issue