From cba9e23c6753e84c7633c65f9adda95d25eb4cd0 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 6 Sep 2010 07:26:54 +0200 Subject: Allow loading byte-compiled Geiser without make install --- doc/install.texi | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'doc/install.texi') 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 $ make all +@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 -- cgit v1.2.3