[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master af5f097 108/348: counsel.el (counsel-locate-action-extern)
From: |
Oleh Krehel |
Subject: |
[elpa] master af5f097 108/348: counsel.el (counsel-locate-action-extern): Make interactive |
Date: |
Sat, 8 Apr 2017 11:03:37 -0400 (EDT) |
branch: master
commit af5f09766945f8377f147b5092e124e8edcf4539
Author: justbur <address@hidden>
Commit: Oleh Krehel <address@hidden>
counsel.el (counsel-locate-action-extern): Make interactive
* counsel.el (counsel-find-file-extern): Add as alias for the locate
action for discoverability
Fixes #605
---
counsel.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/counsel.el b/counsel.el
index abf390e..27754f4 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1377,6 +1377,7 @@ string - the full shell command to run."
(defun counsel-locate-action-extern (x)
"Use xdg-open shell command on X."
+ (interactive (list (read-file-name "File: ")))
(call-process shell-file-name nil
nil nil
shell-command-switch
@@ -1386,6 +1387,8 @@ string - the full shell command to run."
"xdg-open")
(shell-quote-argument x))))
+(defalias 'counsel-find-file-extern 'counsel-locate-action-extern)
+
(declare-function dired-jump "dired-x")
(defun counsel-locate-action-dired (x)
- [elpa] master beee0b7 048/348: counsel.el (counsel-git): Add better error message, (continued)
- [elpa] master beee0b7 048/348: counsel.el (counsel-git): Add better error message, Oleh Krehel, 2017/04/08
- [elpa] master 65948fc 053/348: colir.el (colir-parse-color): Fix color parsing in terminal, Oleh Krehel, 2017/04/08
- [elpa] master e987cef 061/348: counsel.el (counsel-read-setq-expression): Fix Eldoc nag, Oleh Krehel, 2017/04/08
- [elpa] master 0091c8a 058/348: ivy.el (ivy-set-prompt-text-properties-function): New devar, Oleh Krehel, 2017/04/08
- [elpa] master 473c595 064/348: Facilitate the sorting of cons cell input to ivy-read, Oleh Krehel, 2017/04/08
- [elpa] master 23bd7a4 075/348: counsel.el (counsel-git): Add :caller, Oleh Krehel, 2017/04/08
- [elpa] master 74358c2 070/348: Purge all dependency on helm-rhythmbox, Oleh Krehel, 2017/04/08
- [elpa] master 56aa605 076/348: ivy.el (ivy-add-prompt-count): Refactor from ivy--reset-state, Oleh Krehel, 2017/04/08
- [elpa] master 9c01abf 003/348: doc/Changelog.org: Add hlines, Oleh Krehel, 2017/04/08
- [elpa] master e53f256 087/348: ivy.el (ivy-minibuffer-map): Move ivy-toggle-regexp-quote from "M-q" to "M-r", Oleh Krehel, 2017/04/08
- [elpa] master af5f097 108/348: counsel.el (counsel-locate-action-extern): Make interactive,
Oleh Krehel <=
- [elpa] master 0028c8c 106/348: counsel.el (counsel-outline): New command, Oleh Krehel, 2017/04/08
- [elpa] master 1d8b4f8 110/348: ivy.el (ivy-sort-matches-functions-alist): New sorting for ivy-switch-buffer, Oleh Krehel, 2017/04/08
- [elpa] master 027fbac 114/348: swiper.el (swiper-multi-action-2): Fix swiper-all, Oleh Krehel, 2017/04/08
- [elpa] master d6cf677 077/348: ivy.el (ivy-prompt): Add warning, Oleh Krehel, 2017/04/08
- [elpa] master 9bd79da 074/348: ivy.el (ivy-set-prompt): New API, Oleh Krehel, 2017/04/08
- [elpa] master 72dcca5 082/348: ivy.el (ivy-push-view): Work properly for dired-mode, Oleh Krehel, 2017/04/08
- [elpa] master 3d7e1ef 083/348: ivy.el (ivy--switch-buffer-action): Improve, Oleh Krehel, 2017/04/08
- [elpa] master 055e7b8 102/348: counsel.el (counsel-git-grep-cmd-history): Update default, Oleh Krehel, 2017/04/08
- [elpa] master 7e188d5 100/348: counsel.el (counsel-git-grep): Customize re-builder, Oleh Krehel, 2017/04/08
- [elpa] master 1da8b6c 086/348: Fix foo!bar syntax for swiper, Oleh Krehel, 2017/04/08