[emacs] Drop unused rspec code.

This commit is contained in:
Sebastian Schulze 2016-07-28 11:30:47 +02:00
parent 7b45ce3c2d
commit 3bb930fa53
No known key found for this signature in database
GPG Key ID: 7EC07325206E3E55
1 changed files with 5 additions and 4 deletions

View File

@ -4,10 +4,12 @@
;;; Code:
(require 'rspec-mode)
(require 'company)
(add-hook 'after-init-hook 'global-company-mode)
(add-to-list 'company-backends 'company-tern)
(add-hook 'js-mode-hook (lambda () (tern-mode t)))
(eval-after-load 'rspec-mode
'(rspec-install-snippets))
(defun colorize-compilation-buffer () "Nice colours there."
(read-only-mode)
@ -29,7 +31,6 @@
(do-in-root '(lambda (root) (ag/search string root))))
(add-hook 'rspec-mode-hook 'turn-off-flycheck)
(setq rspec-command-options "--format progress")
(setq rspec-spec-command "rspec")
(setq ruby-insert-encoding-magic-comment nil)