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 |
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: