1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-21 06:55:35 +00:00

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

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