Skip to content

Commit

Permalink
Use "when" in place of "if" when there's no "else" form
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Dec 16, 2012
1 parent 7557675 commit b60c500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haml-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ respectively."
This requires that `css-mode' is available.
`css-mode' is included with Emacs 23."
(if (boundp 'css-font-lock-keywords)
(when (boundp 'css-font-lock-keywords)
(haml-fontify-region beg end
css-font-lock-keywords
css-mode-syntax-table
Expand Down

0 comments on commit b60c500

Please sign in to comment.