summaryrefslogtreecommitdiff
path: root/doc/contributing.texi
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-11-14 21:13:07 +0300
committerAlex Kost <alezost@gmail.com>2015-11-21 02:19:04 +0300
commitbb38ece4585679c27ecc1f5a063f75dfbf864a45 (patch)
treec5f01eeece4b792726bff9da45ec72fba1a6b662 /doc/contributing.texi
parent56215e41548218020ed8f0004d7c185e2304185b (diff)
downloadpatches-bb38ece4585679c27ecc1f5a063f75dfbf864a45.tar
patches-bb38ece4585679c27ecc1f5a063f75dfbf864a45.tar.gz
doc: Fix 'geiser-guile-load-path' example.
Reported by marusich on #guix. * doc/contributing.texi (The Perfect Setup): Wrap modifying 'geiser-guile-load-path' into 'with-eval-after-load'.
Diffstat (limited to 'doc/contributing.texi')
-rw-r--r--doc/contributing.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi
index cdc3f6d2d7..55b844aafa 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -141,7 +141,8 @@ that it finds source files from your checkout:
@lisp
;; @r{Assuming the Guix checkout is in ~/src/guix.}
-(add-to-list 'geiser-guile-load-path "~/src/guix")
+(with-eval-after-load 'geiser-guile
+ (add-to-list 'geiser-guile-load-path "~/src/guix"))
@end lisp
To actually edit the code, Emacs already has a neat Scheme mode. But in