New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ivy cause read-file-name bug #514
Comments
A minimal example, please. |
At first, turn ivy-mode on, open any file and press it will list the current file's directory rather than the files in "~/.emacs.d" directory. |
@abo-abo |
That's because the first arg is (read-file-name "test: " "~/.emacs.d") |
@abo-abo |
@abo-abo if I call |
Read the doc of
You must use an absolute path. |
it's still not working... when I disable the ivy-mode, problem solves... (read-file-name "Load perspectives from a file: "
"/Users/guanghui/.emacs.d/")
Thanks. |
* ivy.el (ivy--reset-state): Prefer the directory of `initial-input', rather than the directory of `preselect'. Re #514
Please check. |
@abo-abo 👍 thanks, problem solved. |
when call
read-file-name
without achosen
parameter, ivy still usedefault-directory
as the input which is weirdThe text was updated successfully, but these errors were encountered: