Browse files

(inferior-haskell-find-project-root): Minor simplification.

Ignore-this: 98842f3d3cb3fb3b555355dcc0f1d9e1

  • Loading branch information...
1 parent f11a557 commit 3afce2f3df5077db327eb7ebc281879032f53a36 monnier committed Sep 26, 2007
Showing with 1 addition and 2 deletions.
  1. +1 −2 inf-haskell.el
@@ -229,8 +229,7 @@ The process PROC should be associated to a comint buffer."
;; dir (otherwise, it may be a list of dirs and we don't
;; know what to do with those). If it doesn't exist, then
;; give up.
- (setq hsd (expand-file-name hsd))
- (if (file-directory-p hsd) hsd)))))
+ (if (file-directory-p hsd) (expand-file-name hsd))))))
;; If there's no Cabal file or it's not helpful, try to look for
;; a "module" statement and count the number of "." in the
;; module name.

0 comments on commit 3afce2f

Please sign in to comment.