Permalink
Browse files

Extract regen-autoloads function.

  • Loading branch information...
1 parent 38376e2 commit 6d0a2f7b41d4f5faab6ef2b65fcd6c520b033736 @technomancy committed Nov 29, 2008
Showing with 15 additions and 5 deletions.
  1. +3 −2 README.markdown
  2. +7 −2 TODO
  3. +5 −1 init.el
View
@@ -14,8 +14,7 @@ working environment for anyone using Emacs.
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.
+itself as "void function: foobar" errors) try M-x regen-autoloads.
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:
@@ -28,6 +27,8 @@ Libraries from ELPA (http://tromey.com/elpa) are preferred when
available since dependencies are handled automatically, and the burden
to update them is removed from the user.
+See TODO for a list of libraries that are pending submission to ELPA.
+
## Contributing
If you know your way around Emacs, please try out the starter kit as a
View
9 TODO
@@ -6,8 +6,6 @@ Add bleeding-edge package support to elpa?
look up http://www.emacswiki.org/cgi-bin/emacs-en/CommandLogMode
to add to elpa:
-* ruby-mode (sent)
-* inf-ruby (sent)%
* ruby-electric
* ruby-compilation
@@ -24,10 +22,13 @@ to add to elpa:
* nxhtml (remove bundled deps)
* rinari
* jabber (need to contact maintainers)
+* slime
* pg
Check the list of elpa packages periodically to make sure they're all
up to date:
+* ruby-mode
+* inf-ruby
* idle-highlight
* js2-mode
* css
@@ -41,3 +42,7 @@ to write/finish:
* mublog
* ri
* submit ruby fixes to flymake
+
+Bug fixes:
+get jabber.el to automatically disconnect when suspending/hibernating (via dbus)
+ruby-compilation.el should auto-kill the buffer on successful test runs; only leave it open on error/fail
View
@@ -26,7 +26,11 @@
;; Autoloads can be regenerated for you automatically if the file is
;; too old:
-(let ((autoload-file (concat dotfiles-dir "loaddefs.el")))
+(setq autoload-file (concat dotfiles-dir "loaddefs.el"))
+
+(defun regen-autoloads ()
+ "Regenerate the autoload definitions file and load it."
+ (interactive)
(if (or (not (file-exists-p autoload-file))
;; TODO: make this more readable
(< (+ (car (nth 5 (file-attributes autoload-file))) 20)

0 comments on commit 6d0a2f7

Please sign in to comment.