branch: elpa/helm
commit a8d5d227eb9ac667ccbf6d7259b40df764f44062
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Remove unneeded call of setf
By using a keyword :name in make-instance, it is no more needed to
setf the slot 'name.
---
helm-source.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/helm-source.el b/helm-source.el
index 43f657d09c..a5c1978e8f 100644
--- a/helm-source.el
+++ b/helm-source.el
@@ -993,7 +993,6 @@ 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 name args)))
- (setf (slot-value source 'name) name)
(helm--setup-source source)
(helm-setup-user-source source)
(helm--create-source source)))