Mercurial > dotfiles
changeset 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 | 98000a1107bf |
children | 593b5263291d |
files | .elisp/textmate.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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 "/")))