Revert previous change.
This commit is contained in:
parent
9bf8e53af1
commit
f510617394
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ The function walks up the directory tree from FILE looking for WITNESS.
|
|||
If WITNESS if not found, return nil, otherwise return the root."
|
||||
;; Represent /home/luser/foo as ~/foo so that we don't try to look for
|
||||
;; witnesses in /home or in /.
|
||||
(while (and (not (file-directory-p file)) (file-exists-p file))
|
||||
(while (not (file-directory-p file))
|
||||
(setq file (file-name-directory (directory-file-name file))))
|
||||
(setq file (abbreviate-file-name file))
|
||||
(let ((root nil)
|
||||
|
|
Loading…
Add table
Reference in a new issue