diff options
Diffstat (limited to 'app-emacs/slime/files/1.2.1.20060205/70slime-gentoo.el')
-rw-r--r-- | app-emacs/slime/files/1.2.1.20060205/70slime-gentoo.el | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-emacs/slime/files/1.2.1.20060205/70slime-gentoo.el b/app-emacs/slime/files/1.2.1.20060205/70slime-gentoo.el new file mode 100644 index 000000000000..105a1c76e689 --- /dev/null +++ b/app-emacs/slime/files/1.2.1.20060205/70slime-gentoo.el @@ -0,0 +1,16 @@ + +;;; site-lisp configuration for slime-cvs + +(add-to-list 'load-path "@SITELISP@") +(require 'slime) +(add-hook 'lisp-mode-hook + (lambda () (slime-mode t))) +(add-hook 'inferior-lisp-mode-hook + (lambda () (inferior-slime-mode t))) + +;; this prevents us from requiring the user get dev-lisp/hyperspec +;; (which is non-free) as a hard dependency + +(if (file-exists-p "/usr/share/doc/hyperspec/HyperSpec") + (setq common-lisp-hyperspec-root "file:///usr/share/doc/hyperspec/HyperSpec/") + (setq common-lisp-hyperspec-root "http://www.lispworks.com/reference/HyperSpec/")) |