Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix create-partial-from-selection and create-helper-from-block by dro…

…pping mmm-mode dependency
  • Loading branch information...
commit 5b50ac7baeae981d1a7bf45a957717f175cab121 1 parent 409329c
@remvee authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 rails-view-minor-mode.el
View
5 rails-view-minor-mode.el
@@ -39,8 +39,7 @@
(message "Empty partial name") (return)))
(kill-region (region-beginning) (region-end))
(insert (concat "<%= render :partial => \"" name "\" %>"))
- (mmm-parse-region (line-beginning-position) (line-end-position))
- (insert "\n")
+ (insert "\n")
(split-window-vertically)
(other-window 1)
(find-file (concat "_" name ".html.erb"))
@@ -77,7 +76,7 @@
(helper-func-def (concat "def " helper-defination)))
(kill-region begin-pos end-pos)
(insert (concat "<%= " helper-defination " -%>" ))
- (mmm-parse-region (line-beginning-position) (line-end-position))
+ (funcall indent-line-function)
(insert "\n")
(split-window-vertically)
(other-window 1)
Please sign in to comment.
Something went wrong with that request. Please try again.