Skip to content

Commit

Permalink
menu tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 7, 2010
1 parent 5f14029 commit fd314cc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions coffee-mode.el
Expand Up @@ -54,8 +54,13 @@ print the compiled JavaScript.")
(interactive)
(message (concat "coffee-mode v" coffee-mode-version)))

(defun coffee-open-reference ()
"Open browser to CoffeeScript reference."
(interactive)
(browse-url "http://jashkenas.github.com/coffee-script/"))

(defun coffee-open-github ()
"Open `coffee-mode' on GithHub."
"Open browser to `coffee-mode' project on GithHub."
(interactive)
(browse-url "http://github.com/defunkt/coffee-mode"))

Expand All @@ -69,7 +74,8 @@ print the compiled JavaScript.")
["Compile Buffer" coffee-compile-buffer]
["Compile Region" coffee-compile-region]
"---"
["Open on GitHub" coffee-open-github]
["CoffeeScript reference" coffee-open-reference]
["coffee-mode on GitHub" coffee-open-github]
["Version" coffee-show-version]
))

Expand Down

0 comments on commit fd314cc

Please sign in to comment.