Fix #4208: aborting direnv shouldn't abort find-file
This commit is contained in:
parent
1d766bf873
commit
f7293fb67e
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@
|
|||
(unless (or envrc-mode
|
||||
(minibufferp)
|
||||
(file-remote-p default-directory))
|
||||
(envrc-mode 1))))
|
||||
(condition-case _
|
||||
(envrc-mode 1)
|
||||
(quit)))))
|
||||
|
||||
;; Ensure these local variables survive major mode changes, so envrc-mode is
|
||||
;; only "activated" once per buffer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue