Skip to content

Commit

Permalink
Update doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
neojski committed Jan 13, 2018
1 parent c643a5c commit 5d9aedb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion counsel.el
Expand Up @@ -1717,7 +1717,10 @@ Skip some dotfiles unless `ivy-text' requires them."
(find-file (expand-file-name x ivy--directory)))))

(defun counsel--preselect-file ()
"Chooses the file to preselect in find-file like completions depending on customizations"
"Return candidate to preselect during filename completion.
The preselect behaviour can be customized via user options
`counsel-find-file-at-point' and
`counsel-preselect-current-file', which see."
(or
(when counsel-find-file-at-point
(require 'ffap)
Expand Down

0 comments on commit 5d9aedb

Please sign in to comment.