branch: master
commit 56016537362c3ca4a4cb37cfe7f56c65cd20e051
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
Require dired when completing file names
* ivy.el (ivy-read): Update.
Fixes #78
---
ivy.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ivy.el b/ivy.el
index d2dc037..dae8e70 100644
--- a/ivy.el
+++ b/ivy.el
@@ -580,6 +580,7 @@ UNWIND is a lambda to call before exiting."
(setq coll (all-completions "" collection predicate))))
((eq collection 'read-file-name-internal)
(setq ivy--directory default-directory)
+ (require 'dired)
(setq coll
(ivy--sorted-files default-directory))
(when initial-input