Permalink
Browse files

Some more changes that I forgot to track over time

  • Loading branch information...
rhburrows committed Feb 4, 2012
1 parent d17c644 commit 8b9f3d0e198a4212eb7bca887aae6f8cb805b7b0
Showing with 13 additions and 10 deletions.
  1. +7 −0 rhb_coffee.el
  2. +3 −2 rhb_config.el
  3. +0 −6 rhb_slime_config.el
  4. +1 −0 ruby/rhb_ruby_config.el
  5. +2 −2 xml/rhb_xml_config.el
View
@@ -0,0 +1,7 @@
+(provide 'rhb_coffee)
+
+(defun coffee-custom()
+ (set (make-local-variable 'tab-width) 2))
+
+(add-hook 'coffee-mode-hook
+ '(lambda() (coffee-custom)))
View
@@ -50,6 +50,8 @@
;; Spaces not tabs
(setq-default indent-tabs-mode nil)
+(setq-default tab-width 2)
+
;;
;; Lets us turn buffers into html with syntax highlighting
;;
@@ -96,8 +98,7 @@
(require 'rhb_twitter_config) ;; Loading twittering-mode
(require 'rhb_yasnippet_config) ;; Loading yasnippet
(require 'rhb_java_config) ;; Loading java
-
-(require 'rhb_slime_config)
+(require 'rhb_coffee) ;; CoffeeScript configs
(require 'rhb_eshell) ;; Eshell customizations
View
@@ -1,6 +0,0 @@
-(provide 'rhb_slime_config)
-
-(setq inferior-lisp-program "/usr/local/bin/clisp")
-(add-to-list 'load-path "~/src/slime/")
-(require 'slime)
-(slime-setup)
View
@@ -12,6 +12,7 @@
(add-to-list 'auto-mode-alist '("Gemfile" . ruby-mode))
(add-to-list 'auto-mode-alist '("Isolate" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.gemspec$" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.rabl$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.rhtml$" . html-mode))
View
@@ -2,5 +2,5 @@
(load (concat emacs-dir "xml/nxml-mode/rng-auto.el"))
(setq auto-mode-alist
- (cons '("\\.\\(xml\\|xsl\\|rng\\|xhtml\\|html\\)\\'" . nxml-mode)
- auto-mode-alist))
+ (cons '("\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode)
+ auto-mode-alist))

0 comments on commit 8b9f3d0

Please sign in to comment.