branch: elpa/helm
commit 820812045a6b1f17c18c8fc7688571f1d0131e34
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Make obsolete helm-make-type and associated
    
    helm-build-type-* fns.  helm-make-source can be used instead with a
    nil NAME arg.
---
 helm-source.el | 1 +
 helm-types.el  | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/helm-source.el b/helm-source.el
index a5c1978e8f..e7b3ead151 100644
--- a/helm-source.el
+++ b/helm-source.el
@@ -1002,6 +1002,7 @@ Arguments ARGS are keyword value pairs as defined in 
CLASS."
     (setf (slot-value source 'name) nil)
     (helm--setup-source source)
     (helm--create-source source)))
+(make-obsolete 'helm-make-type 'helm-make-source "4.0.3")
 
 (defvar helm-mm-default-search-functions)
 (defvar helm-mm-default-match-functions)
diff --git a/helm-types.el b/helm-types.el
index 7c3547c000..1de003343f 100644
--- a/helm-types.el
+++ b/helm-types.el
@@ -329,12 +329,13 @@
 ;; Builders.
 (defun helm-build-type-file ()
   (helm-make-type 'helm-type-file))
-
+(make-obsolete 'helm-build-type-file 'helm-make-source "4.0.3")
 (defun helm-build-type-function ()
   (helm-make-type 'helm-type-function))
-
+(make-obsolete 'helm-build-type-function 'helm-make-source "4.0.3")
 (defun helm-build-type-command ()
   (helm-make-type 'helm-type-command))
+(make-obsolete 'helm-build-type-command 'helm-make-source "4.0.3")
 
 (provide 'helm-types)
 

Reply via email to