[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 5229ebe 173/272: counsel.el (counsel-prompt-function-dir):
From: |
Oleh Krehel |
Subject: |
[elpa] master 5229ebe 173/272: counsel.el (counsel-prompt-function-dir): Fix format |
Date: |
Mon, 25 Apr 2016 10:13:24 +0000 |
branch: master
commit 5229ebeeebdac8cb90ba0f7322e6cf3958d3e28d
Author: justbur <address@hidden>
Commit: Oleh Krehel <address@hidden>
counsel.el (counsel-prompt-function-dir): Fix format
The prompt argument was unused, which looked unintentional
Fixes #425
---
counsel.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/counsel.el b/counsel.el
index 49b0440..26d4b83 100644
--- a/counsel.el
+++ b/counsel.el
@@ -179,12 +179,13 @@ Update the minibuffer with the amount of lines collected
every
(defun counsel-prompt-function-dir (prompt)
"Return PROMPT appended with the parent directory."
(let ((directory counsel--git-grep-dir))
- (format " [%s]: "
+ (format "%s [%s]: "
+ prompt
(let ((dir-list (eshell-split-path directory)))
(if (> (length dir-list) 3)
- (apply #'concat
- (append '("...")
- (cl-subseq dir-list (- (length dir-list) 3))))
+ (apply #'concat
+ (append '("...")
+ (cl-subseq dir-list (- (length dir-list) 3))))
directory)))))
(defun counsel-delete-process ()
- [elpa] master b48a09d 245/272: Use Ivy to browse eshell and shell history entries, (continued)
- [elpa] master b48a09d 245/272: Use Ivy to browse eshell and shell history entries, Oleh Krehel, 2016/04/25
- [elpa] master e7f41bb 236/272: swiper.el (swiper-mc): Remove interactive, Oleh Krehel, 2016/04/25
- [elpa] master 147ae80 096/272: Fix an extra action being called for `completing-read', Oleh Krehel, 2016/04/25
- [elpa] master c4b9e25 249/272: Add much faster scrolling to counsel-grep, Oleh Krehel, 2016/04/25
- [elpa] master 7f6d39f 193/272: counsel.el (counsel-linux-app-action-file): New action on "M-o f", Oleh Krehel, 2016/04/25
- [elpa] master ac4bedf 175/272: counsel.el (counsel-find-file): Bind "M-o f" to find-file-other-window, Oleh Krehel, 2016/04/25
- [elpa] master 41e2e41 246/272: Clean-up previous change, Oleh Krehel, 2016/04/25
- [elpa] master 90a09fa 086/272: doc/ivy.org: CUSTOM_ID should not end in "?", Oleh Krehel, 2016/04/25
- [elpa] master 6254e88 244/272: Allow a sexp node in ivy-views, Oleh Krehel, 2016/04/25
- [elpa] master e224847 179/272: ivy.el (ivy--reset-state): Fix prompt / require-match issue, Oleh Krehel, 2016/04/25
- [elpa] master 5229ebe 173/272: counsel.el (counsel-prompt-function-dir): Fix format,
Oleh Krehel <=
- [elpa] master 8de2930 221/272: ivy.el: Improve "M-n", Oleh Krehel, 2016/04/25
- [elpa] master 6823518 196/272: swiper.el (swiper--candidates): Always remove '(field), Oleh Krehel, 2016/04/25
- [elpa] master d45ee54 258/272: Make the slash more magic during file name completion, Oleh Krehel, 2016/04/25
- [elpa] master ea79f0e 135/272: New API function ivy-set-display-transformer, Oleh Krehel, 2016/04/25
- [elpa] master b2d2b82 209/272: counsel.el (counsel-grep-action): Improve cleanup, Oleh Krehel, 2016/04/25
- [elpa] master 8c4f595 233/272: Fix remapping commit c9b6e0, Oleh Krehel, 2016/04/25
- [elpa] master 6fae6e0 259/272: counsel.el (counsel-grep-or-swiper): Use swiper when narrowed, Oleh Krehel, 2016/04/25
- [elpa] master 1b4e819 218/272: ivy.el (ivy-next-history-element): Simplify, Oleh Krehel, 2016/04/25
- [elpa] master b5a9dc5 255/272: ivy.el (ivy--reset-state): file-directory-p needs a string, Oleh Krehel, 2016/04/25
- [elpa] master 6fc36b5 210/272: option to add newline after ivy-read prompt, Oleh Krehel, 2016/04/25