Browse files

Added some autoloads; updated README.

  • Loading branch information...
1 parent ee538e1 commit 47667cb3d4efe9f42157c3e689396e3bd29f515c @technomancy committed Nov 20, 2008
Showing with 14 additions and 1 deletion.
  1. +9 −0 README.markdown
  2. +0 −1 init.el
  3. +5 −0 starter-kit-ruby.el
View
9 README.markdown
@@ -13,6 +13,15 @@ working environment for anyone using Emacs.
2. Move this directory to ~/.emacs.d
3. Launch Emacs!
+If you are missing some autoloads after an update (should manifest
+itself as "void function: foobar" errors) try deleting your
+loaddefs.el file and restarting Emacs.
+
+If you want to keep your regular ~/.emacs.d in place and just launch a
+single instance using the starter kit, try the following invocation:
+
+ $ emacs -q -l ~/src/emacs-starter-kit/init.el
+
## ELPA
Libraries from ELPA (http://tromey.com/elpa) are preferred when
View
1 init.el
@@ -34,7 +34,6 @@
(let ((generated-autoload-file autoload-file))
(message "Updating autoloads...")
(update-directory-autoloads dotfiles-dir
- (concat dotfiles-dir "/elpa")
(concat dotfiles-dir "/elpa-to-submit"))))
(load autoload-file))
View
5 starter-kit-ruby.el
@@ -2,6 +2,11 @@
;;
;; Part of the Emacs Starter Kit
+;; Until this makes it into ELPA:
+(autoload 'ruby-mode "ruby-mode" "" t)
+(autoload 'inf-ruby "inf-ruby" "" t)
+(autoload 'run-ruby "inf-ruby" "" t)
+
(eval-after-load 'ruby-mode
'(progn
(require 'inf-ruby)

0 comments on commit 47667cb

Please sign in to comment.