branch: externals/org commit 09520a056c5be5622b8c24f3785e0792f767e91f Author: Cook, Malcolm <m...@stowers.org> Commit: Ihor Radchenko <yanta...@posteo.net>
org-manual: Document command line installation * doc/org-manual.org (Using Emacs packaging system): Document how to upgrade Org mode without risking version conflicts. TINYCHANGE --- doc/org-manual.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/org-manual.org b/doc/org-manual.org index 80d41dfd2e..1feb5ed603 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -120,6 +120,16 @@ visited, i.e., where no Org built-in function have been loaded. Otherwise autoload Org functions will mess up the installation. #+end_quote +To avoid interference with built-in Org mode, you can use command line: + +#+begin_src sh +emacs -Q -batch -eval "(progn (require 'package) (package-initialize) (package-refresh-contents) (package-upgrade 'org))" +#+end_src + +This approach has the advantage of isolating the upgrade process from +a running Emacs session, ensuring that version conflicts can not +arise. + *** Using Org's git repository :PROPERTIES: :UNNUMBERED: notoc