Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

menu tweaks

  • Loading branch information...
commit fd314cc739947b99877556c9bd577684ae7e378b 1 parent 5f14029
@defunkt authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 coffee-mode.el
View
10 coffee-mode.el
@@ -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"))
@@ -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]
))
Please sign in to comment.
Something went wrong with that request. Please try again.