[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 6666cf8 099/167: Fix directory validity check
From: |
Oleh Krehel |
Subject: |
[elpa] master 6666cf8 099/167: Fix directory validity check |
Date: |
Tue, 08 Dec 2015 10:50:16 +0000 |
branch: master
commit 6666cf8c863f02d9a81715a7801d7345ed45d942
Author: Stephen Whipple <address@hidden>
Commit: Oleh Krehel <address@hidden>
Fix directory validity check
Directory validity check should be based on `ivy-text` and
`ivy--directory` rather than only `ivy-text`.
Fixes #283
Fixes #284
---
ivy.el | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ivy.el b/ivy.el
index 5aa109d..3e1cd31 100644
--- a/ivy.el
+++ b/ivy.el
@@ -393,9 +393,9 @@ When ARG is t, exit with current text, ignoring the
candidates."
(and
(not (equal ivy-text ""))
(ignore-errors
- (file-directory-p ivy-text))
- (setq dir (expand-file-name
- ivy-text ivy--directory)))
+ (file-directory-p
+ (setq dir (expand-file-name
+ ivy-text ivy--directory)))))
(and
(not (string= ivy--current "./"))
(cl-plusp ivy--length)
- [elpa] master 2a0a25d 117/167: counsel.el (counsel-locate): Add INTIAL-INPUT arg, (continued)
- [elpa] master 2a0a25d 117/167: counsel.el (counsel-locate): Add INTIAL-INPUT arg, Oleh Krehel, 2015/12/08
- [elpa] master 7cf7575 103/167: swiper.el (swiper-toggle-face-matching): Add and bind to "C-c C-f", Oleh Krehel, 2015/12/08
- [elpa] master 6b612cf 093/167: Rebind ivy-occur to "C-c C-o" and "C-o u", Oleh Krehel, 2015/12/08
- [elpa] master 4544c69 105/167: ivy.el (ivy-dispatching-done): Don't set action permanently, Oleh Krehel, 2015/12/08
- [elpa] master e037fb0 101/167: counsel.el (counsel-M-x): Show current-prefix-arg in the prompt, Oleh Krehel, 2015/12/08
- [elpa] master dcc747b 107/167: ivy.el (ivy-occur-mode-map): Bind "q" to quit-window, Oleh Krehel, 2015/12/08
- [elpa] master 57800f6 110/167: swiper.el (swiper-font-lock-ensure): Add eww-mode, Oleh Krehel, 2015/12/08
- [elpa] master f246178 113/167: ivy.el (ivy-prefix-sort): New defcustom, off by default for now, Oleh Krehel, 2015/12/08
- [elpa] master 660e293 106/167: Allow counsel-git-grep -> ivy-occur -> wgrep, Oleh Krehel, 2015/12/08
- [elpa] master 044307d 116/167: ivy.el (ivy--sort-files-by-date): Fix due to destructive cl-sort, Oleh Krehel, 2015/12/08
- [elpa] master 6666cf8 099/167: Fix directory validity check,
Oleh Krehel <=
- [elpa] master d434071 120/167: swiper.el (swiper-all): New command to swiper all file buffers, Oleh Krehel, 2015/12/08
- [elpa] master b39e20c 102/167: ivy.el (ivy-alt-done): Ensure the trailing slash for directories, Oleh Krehel, 2015/12/08
- [elpa] master d89abf2 104/167: counsel.el (counsel--find-symbol): Silence byte compiler, Oleh Krehel, 2015/12/08
- [elpa] master c4562e0 109/167: swiper.el (swiper-font-lock-ensure): Add occur-mode, Oleh Krehel, 2015/12/08
- [elpa] master 5d90542 112/167: ivy.el (ivy-sort-functions-alist): Update doc, Oleh Krehel, 2015/12/08
- [elpa] master adac116 126/167: Make ivy-completing-read handle history as cons, Oleh Krehel, 2015/12/08
- [elpa] master c580fe9 108/167: ivy.el (ivy-occur): Give full counsel-git-grep cands, Oleh Krehel, 2015/12/08
- [elpa] master bb68b67 122/167: Intermediate fix for :preselect with visual-line-mode, Oleh Krehel, 2015/12/08
- [elpa] master 5751119 124/167: README.md: Add more bindings, Oleh Krehel, 2015/12/08
- [elpa] master e47ec14 128/167: ivy.el (ivy-completing-read): Fix off by one, Oleh Krehel, 2015/12/08