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 13, 2022
1 parent 2c7c4a4 commit 946c626
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 @@ -159,7 +159,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 946c626

Please sign in to comment.