Skip to content

Commit

Permalink
fix maybe-update
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthverma314 committed Dec 7, 2020
1 parent e547e4b commit 57c86e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion direnv.el
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ use `default-directory', since there is no file name (or directory)."
(with-current-buffer (window-buffer)
(let ((directory-name (direnv--directory)))
(when (and directory-name
(not (file-remote-p directory-name))
(not (string-equal direnv--active-directory directory-name))
(file-directory-p directory-name))
(direnv-update-directory-environment directory-name)))))
Expand Down

0 comments on commit 57c86e4

Please sign in to comment.