[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master e503688 85/90: counsel.el (counsel-find-file): Use `file-n
From: |
Oleh Krehel |
Subject: |
[elpa] master e503688 85/90: counsel.el (counsel-find-file): Use `file-name-history' |
Date: |
Tue, 30 Jun 2015 07:29:35 +0000 |
branch: master
commit e5036880f1ec2f0efe1c117e2e6bda4ae87b6b71
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
counsel.el (counsel-find-file): Use `file-name-history'
* counsel.el (package-installed-p): Declare.
---
counsel.el | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/counsel.el b/counsel.el
index 7cbe9e7..c2d67d6 100644
--- a/counsel.el
+++ b/counsel.el
@@ -294,7 +294,9 @@
(find-file (expand-file-name x ivy--directory)))
:preselect (when counsel-find-file-at-point
(require 'ffap)
- (ffap-guesser))))
+ (ffap-guesser))
+ :require-match 'confirm-after-completion
+ :history 'file-name-history))
(defcustom counsel-find-file-ignore-regexp nil
"A regexp of files to ignore while in `counsel-find-file'.
@@ -511,6 +513,7 @@ CMD is a command name."
(declare-function smex-detect-new-commands "ext:smex")
(declare-function smex-update "ext:smex")
(declare-function smex-rank "ext:smex")
+(declare-function package-installed-p "package")
;;;###autoload
(defun counsel-M-x (&optional initial-input)
- [elpa] master 017e007 78/90: counsel.el (counsel-M-x): Avoid compilation warning, (continued)
- [elpa] master 017e007 78/90: counsel.el (counsel-M-x): Avoid compilation warning, Oleh Krehel, 2015/06/30
- [elpa] master 64b76c3 81/90: Fixup compilation warnings related to smex, Oleh Krehel, 2015/06/30
- [elpa] master 225e5aa 82/90: Allow to recursively match history with "C-r", Oleh Krehel, 2015/06/30
- [elpa] master dcd0c50 80/90: counsel.el (counsel-unicode-char): Use action-style call, Oleh Krehel, 2015/06/30
- [elpa] master a287f39 84/90: counsel.el (counsel-git-grep-history): New defvar, Oleh Krehel, 2015/06/30
- [elpa] master e072e96 83/90: swiper.el (swiper-history): New defvar, Oleh Krehel, 2015/06/30
- [elpa] master be80798 86/90: Fix the initial input bug introduced with "C-r", Oleh Krehel, 2015/06/30
- [elpa] master 5036f23 87/90: Make counsel-el work with "C-M-n" and "C-M-p", Oleh Krehel, 2015/06/30
- [elpa] master c33bb2d 88/90: ivy-hydra.el (hydra-ivy): Bind "C-o" to be a toggle, Oleh Krehel, 2015/06/30
- [elpa] master e953099 89/90: Make counsel-locate use a process, Oleh Krehel, 2015/06/30
- [elpa] master e503688 85/90: counsel.el (counsel-find-file): Use `file-name-history',
Oleh Krehel <=
- [elpa] master 55e0188 90/90: Merge commit 'e9530990914c1d81889269b4a8365b8003625557' from swiper, Oleh Krehel, 2015/06/30