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 <conra...@gmail.com> 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 h...@googlegroups.com.
> To unsubscribe from this group, send email to
> haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>.
> 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 h...@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to