Skip to content

Commit

Permalink
remove rsense since it never worked right and I never used.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Ledbetter committed May 29, 2012
1 parent 9dbcf83 commit 24ccab8
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions emacs.d/init.el
Expand Up @@ -4,7 +4,6 @@

;; these features require external tools
(defvar use-jshint-mode nil) ;; 'npm install jshint-mode' and set to t
(defvar use-rsense nil) ;; install from git://github.com/m2ym/rsense.git

(nconc load-path (list "~/.emacs.d/el-get/el-get"))
(push "/usr/local/bin" exec-path)
Expand All @@ -17,11 +16,6 @@
(if (eq use-jshint-mode t)
(add-to-list 'load-path "/usr/local/lib/node_modules/jshint-mode"))

(if (eq use-rsense t)
(progn
(setq rsense-home (expand-file-name "~/Projects/rsense"))
(add-to-list 'load-path (concat rsense-home "/etc"))))

(require 'package)

(unless (require 'el-get nil t)
Expand Down Expand Up @@ -87,8 +81,6 @@

(if (eq use-jshint-mode t)
(require 'flymake-jshint))
(if (eq use-rsense t)
(require 'rsense))

(ac-config-default)

Expand Down Expand Up @@ -345,12 +337,6 @@
(add-hook 'ruby-mode-hook 'on-ruby-mode)
(add-hook 'less-css-mode-hook 'on-scss-mode)

(if (eq use-rsense t)
(add-hook 'ruby-mode-hook
(lambda ()
(add-to-list 'ac-sources 'ac-source-rsense-method)
(add-to-list 'ac-sources 'ac-source-rsense-constant))))

(defun on-ruby-mode ()
(local-set-key (kbd "DEL") 'backward-delete-char-hungry))

Expand Down

0 comments on commit 24ccab8

Please sign in to comment.