Commits

Peter Szilagyi committed a9246b7

Fixed bogus ocp-indent emacs.el path.

  • Participants
  • Parent commits 987b9bd

Comments (0)

Files changed (1)

elisp/jane/jane-ocaml.el

     (t (error "Bad key for ocaml-indenter.  Should be 'tuareg or 'ocp-indent"))))
 
 ;; ocp-indent-line and ocp-indent-region
-(load (expand-file-name "../ocaml/contrib/ocp-indent/emacs.el"
-                        (and (boundp 'load-file)
-                             (file-name-directory load-file))))
+(load (expand-file-name "../../ocaml/contrib/ocp-indent/emacs.el"
+                        (and load-file-name
+                             (file-name-directory load-file-name))))
 (remove-hook 'tuareg-mode-hook 'ocp-setup-indent)
 
 (defun jane-tuareg-mode-hook ()