 ;; copied from http://xahlee.org/emacs/elisp_syntax_coloring.html
 (require 'font-lock)
-
-(defvar jade-tab-width 2)
 
 (defun jade-debug (string &rest args)
   "Prints a debug message"

  (setq mode-name "Jade")
  (setq major-mode 'jade-mode)

  ;; keymap
  (use-local-map jade-mode-map)

  ;; highlight syntax
  (setq font-lock-defaults '(jade-font-lock-keywords))

  (make-local-variable 'indent-line-function)
  (setq indent-line-function 'jade-indent-line)
  ;; no tabs
  (setq indent-tabs-mode nil))

(provide 'jade-mode)


  `(buffer-substring (point-at-bol) (point-at-eol)))


(defun jade-empty-line-p ()
  "If line is empty or not."
  (= (point-at-eol) (point-at-bol)))
