Browse files

Make coffee-mode-hook customizable.

  • Loading branch information...
1 parent 3f4271f commit 6d1d92d7802f5908ae3cb0bd85942215de87f060 @rrthomas rrthomas committed May 8, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 coffee-mode.el
View
6 coffee-mode.el
@@ -117,8 +117,10 @@ with CoffeeScript."
:type 'string
:group 'coffee)
-(defvar coffee-mode-hook nil
- "Hook run when entering `coffee-mode'.")
+(defcustom coffee-mode-hook nil
+ "Hook called by `coffee-mode'."
+ :type 'hook
+ :group 'coffee)
(defvar coffee-mode-map (make-keymap)
"Keymap for CoffeeScript major mode.")

0 comments on commit 6d1d92d

Please sign in to comment.