Skip to content

Commit

Permalink
Make sure the load-path is set right
Browse files Browse the repository at this point in the history
Ignore-this: 2732f5a22cfd2cbdc4d9b0945b9de51e

darcs-hash:20091101213959-f57bf-e3f810499e56f7d46244b846388526d51733aa6b.gz
  • Loading branch information
svein.ove committed Nov 1, 2009
1 parent a76c0cb commit ecf580f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions haskell-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 4 additions & 3 deletions haskell-site-file.el
Original file line number Diff line number Diff line change
Expand Up @@ -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 `-- '.
Expand Down Expand Up @@ -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 ecf580f

Please sign in to comment.