Skip to content

Commit

Permalink
Fixed how the coding-hook was being called.
Browse files Browse the repository at this point in the history
  • Loading branch information
jory committed Jul 18, 2011
1 parent 310f4db commit 9848457
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Jory/coffee.el
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@

(setq outline-regexp "[ \t]*\\(class\\|.*\\(-\\|=\\)>$\\)")
(setq outline-level 'coffee-outline-level)
(outline-minor-mode t)

(run-coding-hook))
(outline-minor-mode t))

(add-hook 'coffee-mode-hook 'coffee-custom)
(add-hook 'coffee-mode-hook 'run-coding-hook)

0 comments on commit 9848457

Please sign in to comment.