branch: elpa/helm commit 5a222a8a6b5e453c762fda8b219102e29e706dde Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Fix obsolete call to make-instance We should use now a keyword corresponding to the :initarg of the class, so for name, use :name name instead of just name. --- helm-source.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-source.el b/helm-source.el index 5fef02ef8a..43f657d09c 100644 --- a/helm-source.el +++ b/helm-source.el @@ -992,7 +992,7 @@ the keyword :name in your source, NAME will be used instead. Argument CLASS is a symbol defining an eieio class object. Arguments ARGS are keyword value pairs as defined in CLASS." (declare (indent 2)) - (let ((source (apply #'make-instance class name args))) + (let ((source (apply #'make-instance class :name name args))) (setf (slot-value source 'name) name) (helm--setup-source source) (helm-setup-user-source source)