Permalink
Browse files

Make sure the load-path is set right

Ignore-this: 2732f5a22cfd2cbdc4d9b0945b9de51e

darcs-hash:20091101213959-f57bf-e3f810499e56f7d46244b846388526d51733aa6b.gz
  • Loading branch information...
1 parent 4a16cc3 commit 02ac722ab1b1e4bd4c2d5463920b0c9247972d11 @Baughn Baughn committed Nov 1, 2009
Showing with 9 additions and 3 deletions.
  1. +5 −0 haskell-mode.el
  2. +4 −3 haskell-site-file.el
View
@@ -174,6 +174,11 @@
:group 'languages
:prefix "haskell-")
+;; Set load-path
+;;;###autoload
+(add-to-list 'load-path
+ (or (file-name-directory load-file-name) (car load-path)))
+
;; Set up autoloads for the modules we supply
(autoload 'turn-on-haskell-decl-scan "haskell-decl-scan"
"Turn on Haskell declaration scanning." t)
@@ -144,9 +144,11 @@ autofill-mode.
;;;***
;;;### (autoloads (haskell-hayoo haskell-hoogle literate-haskell-mode
-;;;;;; haskell-mode) "haskell-mode" "haskell-mode.el" (19181 51602))
+;;;;;; haskell-mode) "haskell-mode" "haskell-mode.el" (19182 30))
;;; Generated autoloads from haskell-mode.el
+(add-to-list 'load-path (or (file-name-directory load-file-name) (car load-path)))
+
(autoload 'haskell-mode "haskell-mode" "\
Major mode for editing Haskell programs.
Blank lines separate paragraphs, comments start with `-- '.
@@ -265,8 +267,7 @@ we load it.
;;;***
;;;### (autoloads nil nil ("haskell-font-lock.el" "haskell-ghci.el"
-;;;;;; "haskell-hugs.el" "haskell-simple-indent.el") (19181 56484
-;;;;;; 142042))
+;;;;;; "haskell-hugs.el" "haskell-simple-indent.el") (19182 33 984749))
;;;***

0 comments on commit 02ac722

Please sign in to comment.