Mercurial > dotfiles
diff .elisp/textmate.el @ 171:2f865a7f84e6
textmate: do not trust cached project root of $HOME
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Wed, 16 Dec 2009 22:18:43 -0600 |
parents | 668268f29a88 |
children | c35b58b40fcb |
line wrap: on
line diff
--- a/.elisp/textmate.el +++ b/.elisp/textmate.el @@ -423,7 +423,8 @@ specific type of file." "Returns the current project root." (when (or (null *textmate-project-root*) - (not (string-match *textmate-project-root* default-directory))) + (not (string-match *textmate-project-root* default-directory)) + (not (string-match *textmate-project-root* (getenv "HOME")))) (let ((root (textmate-find-project-root))) (if root (setq *textmate-project-root* (expand-file-name (concat root "/")))