summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-09-20 19:51:04 +0000
committerUlrich Müller <ulm@gentoo.org>2007-09-20 19:51:04 +0000
commit3f986d2a7a00ca54fe12b82e1d606dbaa1c68bc3 (patch)
tree7f0b5e42e8a1594edd4ec4b05342c7f9e42a9d50 /app-emacs/slime/files
parentUse elibtoolize for fbsd. (diff)
downloadgentoo-2-3f986d2a7a00ca54fe12b82e1d606dbaa1c68bc3.tar.gz
gentoo-2-3f986d2a7a00ca54fe12b82e1d606dbaa1c68bc3.tar.bz2
gentoo-2-3f986d2a7a00ca54fe12b82e1d606dbaa1c68bc3.zip
Use autoload mechanism, bug #174469.
(Portage version: 2.1.3.9)
Diffstat (limited to 'app-emacs/slime/files')
-rw-r--r--app-emacs/slime/files/71slime-gentoo.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emacs/slime/files/71slime-gentoo.el b/app-emacs/slime/files/71slime-gentoo.el
new file mode 100644
index 000000000000..e872b7cb9408
--- /dev/null
+++ b/app-emacs/slime/files/71slime-gentoo.el
@@ -0,0 +1,13 @@
+
+;;; slime site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(require 'slime-autoloads)
+(slime-setup)
+
+;; this prevents us from requiring the user get dev-lisp/hyperspec
+;; (which is non-free) as a hard dependency
+(setq common-lisp-hyperspec-root
+ (if (file-exists-p "/usr/share/doc/hyperspec/HyperSpec")
+ "file:///usr/share/doc/hyperspec/HyperSpec/"
+ "http://www.lispworks.com/reference/HyperSpec/"))