tools/fancy-mode.el in fancy-0.6.0 vs tools/fancy-mode.el in fancy-0.7.0

- old
+ new

@@ -1,5 +1,12 @@ +;;; fancy-mode.el --- Major mode for programming with the Fancy language. +;; +;; URL: http://www.fancy-lang.org +;; Version: 0.1 +;; Author: Christopher Bertels <chris@fancy-lang.org> + + (require 'generic-x) (define-generic-mode 'fancy-mode '("#") ;; comments @@ -38,10 +45,11 @@ "A mode for fancy files" ;; doc string for this mode ) (add-to-list 'auto-mode-alist '("\\.fy\\'" . fancy-mode)) (add-to-list 'auto-mode-alist '("\\.fancypack\\'" . fancy-mode)) +(add-to-list 'auto-mode-alist '("\\Fakefile\\'" . fancy-mode)) (add-to-list 'interpreter-mode-alist '("fancy" . fancy-mode)) ;; Ignore .fyc (compiled fancy bytecode) files (add-to-list 'completion-ignored-extensions ".fyc") @@ -63,5 +71,7 @@ (setq do-indent t))))) (setq indent-line-function 'fancy-indent-line) (provide 'fancy-mode) + +;;; fancy-mode.el ends here