Skip to content

Commit

Permalink
If 'js is found, don't bother looking for 'javascript-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Jan 21, 2013
1 parent 423e452 commit a8a458c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions haml-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
(require 'css-mode nil t)
(require 'textile-mode nil t)
(require 'markdown-mode nil t)
(require 'javascript-mode "javascript" t)
(require 'js nil t)
(or
(require 'js nil t)
(require 'javascript-mode "javascript" t))


;; User definable variables
Expand Down

0 comments on commit a8a458c

Please sign in to comment.