summaryrefslogtreecommitdiff
path: root/helm-misc.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2014-02-19 08:19:53 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2014-02-19 08:19:53 +0100
commite2805a7b0256c345b49aa0ddc19b14ed90390a82 (patch)
tree858e420f43e7e7675a696a41bbfeb67451668660 /helm-misc.el
parentd4810aade0826a8fa64f520ab05160d2de745d0c (diff)
* helm-files.el (helm-source-file-name-history): Use appropriate transformer and action to not attempt tramp connection. Tks Ted.
* helm-misc.el (helm-mini-default-sources): New user var. (helm-mini): Use it.
Diffstat (limited to 'helm-misc.el')
-rw-r--r--helm-misc.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/helm-misc.el b/helm-misc.el
index c252b09b..cabae903 100644
--- a/helm-misc.el
+++ b/helm-misc.el
@@ -29,6 +29,13 @@
:group 'helm-misc
:type 'string)
+(defcustom helm-mini-default-sources '(helm-source-buffers-list
+ helm-source-recentf
+ helm-source-buffer-not-found)
+ "Default sources list used in `helm-mini'."
+ :group 'helm-misc
+ :type '(repeat (choice symbol)))
+
(defface helm-time-zone-current
'((t (:foreground "green")))
"Face used to colorize current time in `helm-world-time'."
@@ -363,10 +370,7 @@ It is added to `extended-command-history'.
(interactive)
(require 'helm-files)
(let ((helm-ff-transformer-show-only-basename nil))
- (helm-other-buffer '(helm-source-buffers-list
- helm-source-recentf
- helm-source-buffer-not-found)
- "*helm mini*")))
+ (helm-other-buffer helm-mini-default-sources "*helm mini*")))
;;;###autoload
(defun helm-minibuffer-history ()