Permalink
Browse files

Unbreak.

  • Loading branch information...
1 parent 65dbf5e commit e443ad8103544feb5ca59806f7e2a00c9a03fc22 @bodil committed Feb 18, 2014
Showing with 6 additions and 5 deletions.
  1. +6 −5 bodil-js.el
View
@@ -120,15 +120,16 @@
(package-require 'tss)
(add-to-list 'auto-mode-alist '("\\.ts$" . typescript-mode))
-(define-key typescript-mode-map (kbd "C-c C-k")
- (lambda () (interactive)
- (projectile-with-default-dir (projectile-project-root)
- (compile "npm -s run compile"))))
+(eval-after-load "typescript"
+'(define-key typescript-mode-map (kbd "C-c C-k")
+ (lambda () (interactive)
+ (projectile-with-default-dir (projectile-project-root)
+ (compile "npm -s run compile")))))
(add-to-list 'compilation-error-regexp-alist
'("^\\(.+?\\)(\\([[:digit:]]+\\),\\([[:digit:]]+\\)): \\(.*\\)$"
1 2 3 nil 1))
-(package-require 'flycheck)
+(require 'bodil-flycheck)
(require 'flycheck)
(flycheck-define-checker tslint
"Use tslint to flycheck TypeScript code."

0 comments on commit e443ad8

Please sign in to comment.