From 36813d2304d2456038e331a842b19b0119c84e44 Mon Sep 17 00:00:00 2001 From: Koustubh Sinkar Date: Sun, 20 Sep 2020 20:40:41 +0200 Subject: [PATCH] Document site-wide installation of Prelude --- CHANGELOG.md | 1 + doc/installation.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a8514b..1f91bb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/doc/installation.md b/doc/installation.md index b1dc2ec..d2f58f7 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -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 ~/`, 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