Document site-wide installation of Prelude

This commit is contained in:
Koustubh Sinkar 2020-09-20 20:40:41 +02:00 committed by Bozhidar Batsov
parent bdf7181637
commit 36813d2304
2 changed files with 19 additions and 0 deletions

View file

@ -5,6 +5,7 @@
### New features
* Enable `nlinum-mode` by default. Can be disabled by setting `prelude-minimalistic-ui` to `nil`.
* Enable Site installation for prelude
### Changes

View file

@ -70,6 +70,24 @@ $ cd ~/.emacs.d
If you are using Windows, you should check what Emacs thinks the `~` directory is by running Emacs
and typing `C-x d ~/<RET>`, and then adjust the command appropriately.
### Site Wide
For a multi-user environment, as an admin, the customizations intended
for all users go in the site-start file represented by the variable
`site-run-file`, while single users will use their own init file
represented by the variable `user-init-file`.
If you have placed your prelude directory in `/opt/prelude` then,
append the following line to the `site-start.el`
``` emacs-lisp
(load "/opt/prelude/init.el")
```
If you are using emacs as a daemon process, with other users or daemon
processes interacting with the emacs daemon (e.g. Emacs is your window
manager) then the `site-lisp` directory could be the right place to
place your configuration files.
## Updating Prelude
### Manual update