Permalink
Browse files

Basic support of Markaby templates

M    trunk/ChangeLog
M    trunk/rails.el


git-svn-id: svn+ssh://rubyforge.org/var/svn/emacs-rails/trunk@214 cc5033d0-740f-0410-afc7-949910e492f2
  • Loading branch information...
1 parent 8523372 commit 436370cd91dd667016f11ea66ceee15089fb96ae crazypit committed Sep 11, 2007
Showing with 5 additions and 1 deletion.
  1. +3 −0 ChangeLog
  2. +2 −1 rails.el
View
@@ -1,3 +1,6 @@
+2007-09-11 Peter Rezikov <crazypit13@gmail.com>
+ * rails.el: basic support of Markaby templates.
+
2007-08-18 Peter Rezikov <crazypit13@gmail.com>
* rails-spec.el: base support for rspec. Function
`rails-spec:run-all', `rails-spec:run-this-file', `rails-spec:run-last',
View
@@ -147,7 +147,7 @@ Emacs w3m browser."
:type 'string)
(defvar rails-version "0.5.99.1")
-(defvar rails-templates-list '("erb" "rhtml" "rxml" "rjs" "haml" "liquid"))
+(defvar rails-templates-list '("erb" "rhtml" "rxml" "rjs" "haml" "liquid" "mab"))
(defvar rails-use-another-define-key nil)
(defvar rails-primary-switch-func nil)
(defvar rails-secondary-switch-func nil)
@@ -440,6 +440,7 @@ necessary."
(setq auto-mode-alist (cons '("\\.rb$" . ruby-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.rake$" . ruby-mode) auto-mode-alist))
+(setq auto-mode-alist (cons '("\\.mab$" . ruby-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("Rakefile$" . ruby-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.haml$" . haml-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.rjs$" . ruby-mode) auto-mode-alist))

0 comments on commit 436370c

Please sign in to comment.