You need to add the directory containing haml-mode to the load-path, like
so:

  (add-to-list 'load-path (expand-file-name "~/.emacs/d"))

On Sat, Jan 30, 2010 at 11:13 PM, Conrad Taylor <[email protected]> wrote:

> How does one properly add the haml-mode to the load path?  I have
> tried the following without success:
>
> (add-to-list 'load-path (expand-file-name "~/.emacs.d/haml-mode.el"))
> (require 'haml-mode)
>
> or
>
> (add-to-list 'load-path "~/.emacs.d/haml-mode.el")
> (require 'haml-mode)
>
> At this time, I'm getting the following error message:
>
> Debugger entered--Lisp error:  (file-error "Cannot open load file
> "haml-mode")
> require(haml-mode)
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to