Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more todo

  • Loading branch information...
commit 5b00ae2e64bb74ff92abd9c510b205747fbe43f9 1 parent 12bd5d0
@defunkt authored
Showing with 10 additions and 4 deletions.
  1. +10 −4 coffee-mode.el
View
14 coffee-mode.el
@@ -51,6 +51,8 @@
;; - Fix indentation toggling on blank (pure whitespace) lines
;; - imenu support
;; - Make prototype accessor assignments like `String::length: -> 10` pretty.
+;; - Automatically `delete-trailing-whitespace' on save, configurable.
+;; - mirror-mode - close brackets and parens automatically
;;; Code:
@@ -82,10 +84,6 @@ path.")
"The command line arguments to pass to `coffee-command' to get it to
print the compiled JavaScript.")
-(defun coffee-command-full ()
- "The full `coffee-command' complete with args."
- (mapconcat 'identity (append (list coffee-command) coffee-command-args) " "))
-
(defvar coffee-js-mode 'js2-mode
"The mode to use when viewing compiled JavaScript.")
@@ -96,6 +94,10 @@ print the compiled JavaScript.")
"Keymap for CoffeeScript major mode.")
;;
+;; Private Variables
+;;
+
+;;
;; Commands
;;
@@ -230,6 +232,10 @@ For detail, see `comment-dwim'."
(let ((deactivate-mark nil) (comment-start "#") (comment-end ""))
(comment-dwim arg)))
+(defun coffee-command-full ()
+ "The full `coffee-command' complete with args."
+ (mapconcat 'identity (append (list coffee-command) coffee-command-args) " "))
+
(defun coffee-debug (string &optional args)
"Print a message when in debug mode."
(when coffee-debug-mode
Please sign in to comment.
Something went wrong with that request. Please try again.