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
This commit is contained in:
Cook, Malcolm 2024-05-02 15:43:05 -05:00 committed by Ihor Radchenko
parent 2028bb15cd
commit 09520a056c
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 10 additions and 0 deletions

View File

@ -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