diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-09-13 07:06:53 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-09-13 07:06:53 +0200 |
commit | d6bdc18ebf623de724826c880ed4274a63e8a253 (patch) | |
tree | 2d93011452aa259b9dfd8fdf8bedea21d8b3f86b /helm-source.el | |
parent | f53f3e8c0b14cb80683294fdfc0856eae03bf385 (diff) |
Move helm-source-by-name to helm-lib.
* helm-lib.el (helm-source-by-name): Do it.
Diffstat (limited to 'helm-source.el')
-rw-r--r-- | helm-source.el | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/helm-source.el b/helm-source.el index 33e9a02f..facc342e 100644 --- a/helm-source.el +++ b/helm-source.el @@ -991,14 +991,6 @@ Args ARGS are keywords provided by `helm-source-in-file'." `(helm-make-source ,name 'helm-source-in-file :candidates-file ,file ,@args)) -(defun helm-source-by-name (name &optional sources) - "Get a Helm source in SOURCES by NAME. - -Optional argument SOURCES is a list of Helm sources. The default -value is `helm-sources'." - (car (cl-member-if (lambda (source) - (string= name (assoc-default 'name source))) - (or sources helm-sources)))) (provide 'helm-source) |