Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

match against directory-name when completing from file-name-history

  • Loading branch information...
commit c9d48c8f7ec9ff7d24d060b3e17a20e6d73ff349 1 parent 1bc3bb4
Le Wang authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 helm-files.el
View
6 helm-files.el
@@ -2513,7 +2513,8 @@ Else return ACTIONS unmodified."
(defvar helm-c-source-file-name-history
'((name . "File Name History")
(candidates . file-name-history)
- (match-strict . helm-c-match-on-basename)
+ (match-strict helm-c-match-on-file-name
+ helm-c-match-on-directory-name)
(type . file)))
(defvar helm-c-source-ff-file-name-history
@@ -2526,7 +2527,8 @@ Else return ACTIONS unmodified."
(if helm-ff-file-name-history-use-recentf
recentf-list
file-name-history)))
- (match-strict . helm-c-match-on-basename)
+ (match-strict helm-c-match-on-file-name
+ helm-c-match-on-directory-name)
(candidate-number-limit . ,history-length)
(action . (("find file in helm"
. (lambda (candidate)
Please sign in to comment.
Something went wrong with that request. Please try again.