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 | c6acac244447cac2b4580658b40f3bde2425b8c4 (patch) | |
tree | 26ade244f3c36de04a5cebebc235b737de9481a4 /doc | |
parent | 1891a799d793ac980be066a617b5ef542f431b52 (diff) | |
download | geiser-chez-c6acac244447cac2b4580658b40f3bde2425b8c4.tar.gz geiser-chez-c6acac244447cac2b4580658b40f3bde2425b8c4.tar.bz2 |
Allow loading byte-compiled Geiser without make install
Diffstat (limited to 'doc')
-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 |