Permalink
Browse files

Add command to recompile home directory .el files (faster)

  • Loading branch information...
1 parent f793387 commit 3707066e4de4631959b966b91c1f04c1788d431a @topfunky topfunky committed Feb 12, 2010
Showing with 9 additions and 17 deletions.
  1. +0 −16 TODO
  2. +1 −0 book.local.el
  3. +1 −0 starter-kit-ruby.el
  4. +7 −1 topfunky.el
View
16 TODO
@@ -1,16 +0,0 @@
-TODO:
-
-Submit the packages in starter-kit-elpa.el to ELPA.
-
-Greg Newman is working on Python helpers.
-
-maybe include:
-* should yasnippet be included in rinari?
-
-to write/finish:
-* 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
@@ -1 +1,2 @@
+;; Normal is 30pt. Screencastable is 26pt.
(set-face-font 'default "-apple-inconsolata-medium-r-normal--30-0-72-72-m-0-iso10646-1")
View
@@ -17,6 +17,7 @@
(add-to-list 'auto-mode-alist '("Rakefile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Gemfile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.builder$" . ruby-mode))
;; We never want to edit Rubinius bytecode
(add-to-list 'completion-ignored-extensions ".rbc")
View
@@ -2,7 +2,8 @@
;; Manually set PATH for use by eshell, rspec-mode, etc.
(let ((path))
- (setq path (concat "/opt/ruby-enterprise/bin:"
+ (setq path (concat "~/.gem/ruby/1.8/bin:"
+ "/opt/ruby-enterprise/bin:"
"~/bin:"
"~/src/homebrew/bin:"
"/usr/local/bin:"
@@ -35,6 +36,11 @@
(defvar backup-dir (concat "/tmp/emacs_backups/" (user-login-name) "/"))
(setq backup-directory-alist (list (cons "." backup-dir)))
+;; Makes load time faster.
+(defun byte-recompile-home ()
+ (interactive)
+ (byte-recompile-directory "~/.emacs.d" 0))
+
;;(add-hook 'before-save-hook 'delete-trailing-whitespace)
(setq default-tab-width 4)

0 comments on commit 3707066

Please sign in to comment.