Skip to content

Commit

Permalink
fixed a precedence issue
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Oct 26, 2009
1 parent 2f52f7f commit 2c7d0a9
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -485,14 +485,6 @@ makes)."
(load "~/.emacs.d/plugins/yasnippets-rails/setup.el")


(add-hook 'rhtml-mode
(let ((original-command (lookup-key rhtml-mode-map [tab])))
`(lambda ()
(setq yas/fallback-behavior
'(apply ,original-command))
(local-set-key [tab] 'yas/expand))))


(add-to-list 'load-path "~/.emacs.d/plugins/autotest")
(require 'autotest)

Expand All @@ -503,6 +495,13 @@ makes)."
(add-hook 'rhtml-mode-hook
(lambda () (rinari-launch)))

(add-hook 'rhtml-mode
(let ((original-command (lookup-key rhtml-mode-map [tab])))
`(lambda ()
(setq yas/fallback-behavior
'(apply ,original-command))
(local-set-key [tab] 'yas/expand))))


(add-to-list 'load-path "~/.emacs.d/plugins/auto-complete")
(when (require 'auto-complete nil t)
Expand Down

0 comments on commit 2c7d0a9

Please sign in to comment.