diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-09-06 07:26:54 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-09-06 07:26:54 +0200 |
commit | cba9e23c6753e84c7633c65f9adda95d25eb4cd0 (patch) | |
tree | 1444c158601a0aa3f399db78619f96a3fbec9478 /doc/install.texi | |
parent | 894abe5b8a5bd0a500fadfd5ec89e9b8fde76b8f (diff) | |
download | geiser-cba9e23c6753e84c7633c65f9adda95d25eb4cd0.tar.gz geiser-cba9e23c6753e84c7633c65f9adda95d25eb4cd0.tar.bz2 |
Allow loading byte-compiled Geiser without make install
Diffstat (limited to 'doc/install.texi')
-rw-r--r-- | doc/install.texi | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/install.texi b/doc/install.texi index 69cc4c6..2362aa9 100644 --- a/doc/install.texi +++ b/doc/install.texi @@ -53,12 +53,14 @@ sake of concreteness, let's assume you put its source in the directory line to your Emacs initialisation file (be it @file{~/.emacs} or any of its moral equivalents): @example -(load-file "~/lisp/geiser/geiser.el") +(load-file "~/lisp/geiser/elisp/geiser.el") @end example @noindent or simply evaluate that form inside Emacs (you wouldn't kill a friend just to start using Geiser, would you?). That's it: you're ready to -@ref{quick-start,,go}. +@ref{quick-start,,go}. You can even continue to read this fine manual +inside Emacs by opening @file{doc/geiser.info} using @kbd{C-u C-h +i}. @cindex byte-compilation What? You still here? I promise the above is all that's needed to start @@ -79,9 +81,21 @@ $ ../configure <some drivel here> $ make all <more of the above> +@end example +Now you have two options: loading the byte-compiled Geiser from the +@file{elisp} subdirectory, or installing it system-wide. To load the +bytecode from here, add this line to your initialisation file: +@example +(load "~/lisp/geiser/build/elisp/geiser-load") +@end example +and eval that form or (gasp!) restart Emacs and you're done. Yes, that's +@code{load} and @file{geiser-load} instead of @code{load-file} and +@file{geiser.el}. + +If you prefer a system-wide installation, just type: +@example $ sudo make install @end example -@noindent With the above spell, Geiser will be compiled and installed in a safe place inside Emacs load path. To load it into Emacs you'll need, @i{instead} of the @code{load-file} form above, the following line in |